|
| From: | Alex Bennée |
| Subject: | [Qemu-devel] [PULL 15/21] shippable: build using all available cpus |
| Date: | Wed, 21 Jun 2017 15:48:08 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
As of this commit:
$ echo "container proc:" `getconf _NPROCESSORS_ONLN` `getconf _NPROCESSORS_CONF`
container proc: 2 2
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
diff --git a/.shippable.yml b/.shippable.yml
index 231c29b620..1e3ae35dd9 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -20,4 +20,4 @@ build:
ci:
- unset CC
- ./configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST}
- - make -j2
+ - make -j$(($(getconf _NPROCESSORS_ONLN) + 1))
--
2.13.0
| [Prev in Thread] | Current Thread | [Next in Thread] |