From b16522c8e6019db4924de98a5c3bce735fa34597 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Feb 25 2020 19:19:05 +0000 Subject: build.sh:buildp_dispatch(): set ${_njobs_max} from ${ARG_PARALLEL} vs. ${DEFAULT_BUILD_CPUS}. --- diff --git a/build.sh b/build.sh index fae8dc0..d9bfd93 100755 --- a/build.sh +++ b/build.sh @@ -16,7 +16,7 @@ buildp_dispatch() { _build_groups_lc="$(ex_rtl_lfilter "${_build_groups_lc}" "host_deps_rpm")"; fi; if [ "${ARG_PARALLEL:-0}" -gt 1 ]; then - _njobs_max="${DEFAULT_BUILD_CPUS}"; + _njobs_max="${ARG_PARALLEL}"; fi; for _build_group_lc in ${_build_groups_lc}; do ex_pkg_dispatch buildp_dispatch "${_build_group_lc}" "${_njobs_max}" \