Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
fix missing when using --parallel option #1044
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLeu76 committed Jan 5, 2022
1 parent 63f3d0a commit 187c56a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ if [ ! -f "configure" -o "$QUICK" == "no" ]; then
fi

NPROC=1
SYSTEM=$(uname -s)
if [ "$PARALLEL" == "yes" ]; then
if [ "$SYSTEM" == "Linux" ]; then
NPROC=$(lscpu | grep '^CPU(s):' | cut -f2- -d' ')
Expand Down

0 comments on commit 187c56a

Please sign in to comment.