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

This commit is contained in:
Andrey Semashev
2019-01-03 23:06:59 +03:00
parent 9439ae62d6
commit e529fca266

View File

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