]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - continuous/steps/30-compile
continuous: Allow overriding make parallelism from command line
[can-benchmark.git] / continuous / steps / 30-compile
index e43e00f683323954531d8b9d0f2c6d8e6f4fdf91..eb71b417f5c0061cdde50ec078e6eba40673f94c 100755 (executable)
@@ -6,4 +6,8 @@ cd linux
 
 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-
-make -j$(ncpus) uImage shark-ryu.dtb
+
+test -t 0 || CHRONIC=chronic
+NPROC=${NPROC:-$(nproc)}
+
+$CHRONIC make -w -j${NPROC} uImage $@