Use the actual number of logical CPUs for the number of CI build/test jobs.

This commit is contained in:
Andrey Semashev committed 2019-01-03 23:10:05 +03:00
1 parent 96f430b7e2
commit 49dd6f5645
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -220,7 +220,8 @@ install:
script:
- |-
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
- ./b2 -j3 libs/integer/test toolset=$TOOLSET cxxstd=$CXXSTD
- BUILD_JOBS=`(nproc || sysctl -n hw.ncpu) 2> /dev/null`
- ./b2 -j $BUILD_JOBS libs/integer/test toolset=$TOOLSET cxxstd=$CXXSTD
notifications:
email: