Merge branch '79-mod-build-limit-parallel-makes-to-10' into 'master'

Resolve "mod build: limit parallel makes to 10"

Closes #79

See merge request Pmodules/src!43
This commit is contained in:
2019-09-24 10:10:35 +02:00
+1
View File
@@ -102,6 +102,7 @@ declare -i JOBS=$(pbuild::get_num_cores)
pbuild.jobs() {
if (( $1 == 0 )); then
JOBS=$(pbuild::get_num_cores)
(( JOBS > 10 )) && JOBS=10 || :
else
JOBS="$1"
fi