make.sh: lowering parallel buildprocesses

higher values raise the system load but not speedup the build

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2017-12-18 16:48:13 +01:00
parent a412f472d9
commit cbcc135126

View File

@@ -208,7 +208,7 @@ configure_build() {
local mem_max=$(( ${HOST_MEM} / 192 ))
local processors="$(system_processors)"
local cpu_max=$(( ${processors} * 2 ))
local cpu_max=$(( ${processors} + 1 ))
local parallelism
if [ ${mem_max} -lt ${cpu_max} ]; then