- updated passing core count to travis ci build

This commit is contained in:
SoftCoder 2013-12-09 18:21:29 -08:00
parent ad81692331
commit 19a7e3a82e
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ before_install:
- sudo mk/linux/setupBuildDeps.sh --quiet # INSTALL DEPENDENCIES HERE
script:
# ALL THE BUILD COMMANDS HERE
- ./build-mg.sh 1core
- ./build-mg.sh 4
#- dmesg
notifications:
irc:

View File

@ -44,7 +44,7 @@ EXTRA_CMAKE_OPTIONS=
NUMCORES=`lscpu -p | grep -cv '^#'`
echo "CPU cores detected: $NUMCORES"
if [ "$NUMCORES" = '' ]; then NUMCORES=1; fi
if [ "$1" = '1core' ]; then NUMCORES=1; fi
if [ "$1." != '.' ]; then NUMCORES=$1; fi
echo "CPU cores to be used: $NUMCORES"
# ----------------------------------------------------------------------------