From 3a7fb182cc14f35690fc891ea20742fe89bf4cc2 Mon Sep 17 00:00:00 2001 From: Wang Qing Date: Wed, 13 Feb 2019 16:33:05 +0800 Subject: [PATCH] Change the num of parallel jobs when building --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 6aa695b83..9eac50fd3 100755 --- a/build.sh +++ b/build.sh @@ -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