Skip to content

Commit

Permalink
Tools/build-and-test: use make -j nproc, not unlimited
Browse files Browse the repository at this point in the history
  • Loading branch information
mahilleb-msft committed Apr 6, 2016
1 parent 7cf4239 commit cf394a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/build-and-test
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ if [[ $BUILD == 1 ]]; then
if [[ $CLEAN_BEFORE == 1 ]]; then
make -C $BUILD_DIR -f $MAKEFILE clean 1>&6 2>&7 || exit $?
fi
make -C $BUILD_DIR -j -f $MAKEFILE 1>&6 2>&7 || exit $?
make -C $BUILD_DIR -j `nproc` -f $MAKEFILE 1>&6 2>&7 || exit $?

fi
if [[ $QUIET_BUILD == 1 ]]; then
Expand Down

0 comments on commit cf394a6

Please sign in to comment.