Change the num of parallel jobs when building

This commit is contained in:
Wang Qing
2019-02-13 16:33:05 +08:00
committed by Eric Liang
parent e1a479b137
commit 3a7fb182cc
+1 -1
View File
@@ -25,7 +25,7 @@ function usage()
# Determine how many parallel jobs to use for make based on the number of cores
unamestr="$(uname)"
if [[ "$unamestr" == "Linux" ]]; then
PARALLEL=$(nproc --all)
PARALLEL=$(nproc)
elif [[ "$unamestr" == "Darwin" ]]; then
PARALLEL=$(sysctl -n hw.ncpu)
else