mirror of
https://github.com/boostorg/detail.git
synced 2025-07-31 04:47:15 +02:00
Use the actual number of logical CPUs for the number of CI build/test jobs.
This commit is contained in:
@ -268,7 +268,8 @@ install:
|
||||
script:
|
||||
- |-
|
||||
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:
|
||||
email:
|
||||
|
Reference in New Issue
Block a user