From 979f8700b26fc442f021f8a6fe891e05b76aabe0 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 10 Dec 2017 08:18:06 +0100 Subject: [PATCH] make.sh limit build to 23 parallel threads. perl will not work with more parallel build processes. Signed-off-by: Arne Fitzenreiter --- make.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/make.sh b/make.sh index 7e2aec2573..16d6eddff1 100755 --- a/make.sh +++ b/make.sh @@ -217,6 +217,12 @@ configure_build() { parallelism=${cpu_max} fi + # limit to -j23 because perl will not build + # more + if [ ${parallelism} -gt 23 ]; then + parallelism=23 + fi + MAKETUNING="-j${parallelism}" fi } -- 2.39.2