From cf394a6bd6b74e603f842784f7d9c091544c7368 Mon Sep 17 00:00:00 2001 From: Mark Hillebrand Date: Thu, 24 Mar 2016 11:22:20 +0000 Subject: [PATCH] Tools/build-and-test: use make -j `nproc`, not unlimited --- Tools/build-and-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/build-and-test b/Tools/build-and-test index b5bf647473f7..95817216fc4d 100755 --- a/Tools/build-and-test +++ b/Tools/build-and-test @@ -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