From 5e9e04d357eed05e120f02d3a2cc379812b9331a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 4 Nov 2016 14:07:35 +0100 Subject: [PATCH] phase1: parallelize target/install phase Signed-off-by: Jo-Philipp Wich --- phase1/master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index 099f666..908087e 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -461,7 +461,7 @@ EOT''' %(ts[0], ts[0], ts[1]) )) factory.addStep(ShellCommand( name = "images", description = "Building images", - command=["make", "-j1", "target/install", "V=s"], + command=["make", WithProperties("-j%(nproc:~4)s"), "target/install", "V=s"], doStepIf = isChangeBuiltin, haltOnFailure = True )) -- 2.30.2