make.sh limit build to 23 parallel threads.

perl will not work with more parallel build processes.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2017-12-10 08:18:06 +01:00
parent ce9264a1c1
commit 979f8700b2

View File

@@ -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
}