mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-28 10:29:37 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user