From f77d0afc153b6a660d0cd2a7ed4c89cee9dc643e Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Thu, 16 Apr 2020 19:17:40 +0800 Subject: [PATCH] Drop the number of concurrent compile (#23890) --- paddle/scripts/paddle_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 3519d64489a..60f8d37daf6 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 -- GitLab