diff options
author | Tom Marble <tmarble@info9.net> | 2014-05-28 14:08:02 -0500 |
---|---|---|
committer | Tom Marble <tmarble@info9.net> | 2014-05-28 14:08:02 -0500 |
commit | 9b9e4bf1b51c45553879141811748e65debfc251 (patch) | |
tree | 31c74e8d82f1131f72f9f58e2d3b5d524d1e9a60 /jenkins.sh | |
parent | 96ffe5bbd2a1b44ddda6cb25d37d2b0a672045f5 (diff) |
jenkins.sh: make -j 4 can fail, fix for altosui-test
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-x | jenkins.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -11,6 +11,9 @@ time=`which time` if [ -n "$time" ]; then time="$time -v" fi +# NOTE: the build process may fail on multi-cpu systems. If it fails try setting cpus=1 +# cpus=$(nproc) +cpus=1 echo "=== starting altos build at $(date) ===" env @@ -18,5 +21,5 @@ echo "=======================================" set -x ./autogen.sh $prefix $android -make -j $(nproc) clean -$time make -j $(nproc) all fat +make -j $cpus clean +$time make -j $cpus all fat |