diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 7aa85ab137ed83da11e317b020d577f76588cc4c..594c98e7fe39d580eb42b6104e37a40c1ecc2e71 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -300,7 +300,7 @@ function check_style() { function build_base() { if [ "$SYSTEM" == "Linux" ];then if [ `nproc` -gt 16 ];then - parallel_number=$(expr `nproc` - 4) + parallel_number=$(expr `nproc` - 8) else parallel_number=`nproc` fi