summaryrefslogtreecommitdiff
path: root/jenkins.sh
diff options
context:
space:
mode:
authorTom Marble <tmarble@info9.net>2014-05-28 14:08:02 -0500
committerTom Marble <tmarble@info9.net>2014-05-28 14:08:02 -0500
commit9b9e4bf1b51c45553879141811748e65debfc251 (patch)
tree31c74e8d82f1131f72f9f58e2d3b5d524d1e9a60 /jenkins.sh
parent96ffe5bbd2a1b44ddda6cb25d37d2b0a672045f5 (diff)
jenkins.sh: make -j 4 can fail, fix for altosui-test
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-xjenkins.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/jenkins.sh b/jenkins.sh
index 74e48bd5..e6cc7da4 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -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