diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 3519d64489a9d2da85d5cbaaebd03955feb7dede..60f8d37daf664048234d21bcd658ea195e403a32 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -296,7 +296,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