]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
shippable: build using all available cpus
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 2 Jun 2017 18:56:23 +0000 (15:56 -0300)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 21 Jun 2017 14:03:05 +0000 (15:03 +0100)
As of this commit:

$ echo "container proc:" `getconf _NPROCESSORS_ONLN` `getconf _NPROCESSORS_CONF`
container proc: 2 2

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
.shippable.yml

index 231c29b620f73d5b32d3518dd5c26531fac320d5..1e3ae35dd913f3764536646ea5a93cd166cf5708 100644 (file)
@@ -20,4 +20,4 @@ build:
   ci:
     - unset CC
     - ./configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST}
-    - make -j2
+    - make -j$(($(getconf _NPROCESSORS_ONLN) + 1))