]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Use nproc rather than ncpus
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 13 Feb 2014 10:40:12 +0000 (11:40 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 13 Feb 2014 10:40:33 +0000 (11:40 +0100)
nproc is in coreutils, it does not require another package to be installed

continuous/steps/30-compile

index e256b00806cae1713883951db943a2433661a668..5b3d4e55c19c965ca7f2c799aee9c919ba7cd76c 100755 (executable)
@@ -9,4 +9,4 @@ export CROSS_COMPILE=/opt/OSELAS.Toolchain-2012.12.1/powerpc-603e-linux-gnu/gcc-
 
 test -t 0 || CHRONIC=chronic
 
 
 test -t 0 || CHRONIC=chronic
 
-$CHRONIC make -j$(ncpus) uImage
+$CHRONIC make -j$(nproc) uImage