Skip to content

Commit

Permalink
Change job count in build from 8 to nproc+1 (#2020)
Browse files Browse the repository at this point in the history
Change the job count to convention. (CPU threads +1)

No need for people who have more cores to have to wait or people with fewer cores to oversaturate.
  • Loading branch information
aTosser committed Jul 5, 2020
1 parent 4e64f6f commit 756cd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ set -e
mkdir -p build
pushd build
cmake ../src
make $@ -j8
make $@ -j$[$(nproc)+1]
popd

0 comments on commit 756cd17

Please sign in to comment.