Skip to content

Commit 3a7fb18

Browse files
jovany-wangericl
authored andcommitted
Change the num of parallel jobs when building
1 parent e1a479b commit 3a7fb18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function usage()
2525
# Determine how many parallel jobs to use for make based on the number of cores
2626
unamestr="$(uname)"
2727
if [[ "$unamestr" == "Linux" ]]; then
28-
PARALLEL=$(nproc --all)
28+
PARALLEL=$(nproc)
2929
elif [[ "$unamestr" == "Darwin" ]]; then
3030
PARALLEL=$(sysctl -n hw.ncpu)
3131
else

0 commit comments

Comments
 (0)