From ae8b025aacb5db9f4d48a0d633ab681c8af03fb8 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 6 May 2016 09:31:52 +0200 Subject: [PATCH] continuous: Allow overriding make parallelism from command line To disable parallelism run it as: NPROC=1 ./30-compile --- continuous/steps/30-compile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/continuous/steps/30-compile b/continuous/steps/30-compile index 4008682..eb71b41 100755 --- a/continuous/steps/30-compile +++ b/continuous/steps/30-compile @@ -8,5 +8,6 @@ export ARCH=powerpc export CROSS_COMPILE=/opt/OSELAS.Toolchain-2012.12.1/powerpc-603e-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/powerpc-603e-linux-gnu- test -t 0 || CHRONIC=chronic +NPROC=${NPROC:-$(nproc)} -$CHRONIC make -w -j$(nproc) uImage +$CHRONIC make -w -j${NPROC} uImage $@ -- 2.39.2