From: Jo-Philipp Wich Date: Fri, 4 Nov 2016 13:07:35 +0000 (+0100) Subject: phase1: parallelize target/install phase X-Git-Tag: v1~243 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5e9e04d357eed05e120f02d3a2cc379812b9331a;p=buildbot.git phase1: parallelize target/install phase Signed-off-by: Jo-Philipp Wich --- 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 ))