phase1: parallelize target/install phase
authorJo-Philipp Wich <jo@mein.io>
Fri, 4 Nov 2016 13:07:35 +0000 (14:07 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 4 Nov 2016 13:07:35 +0000 (14:07 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/master.cfg

index 099f66653436b3fde4ed3178b5bfba4a344f8046..908087e6714a37ade729a1c26121b4f1cfa7d12c 100644 (file)
@@ -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
        ))