projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Update TeleMini v3 photos to production unit
[fw/altos]
/
jenkins.sh
diff --git
a/jenkins.sh
b/jenkins.sh
index 74e48bd53ba350512e4f9f3a03b174797b586c7f..e6cc7da43fa21952955fe32249eadd34e9bfeb44 100755
(executable)
--- a/
jenkins.sh
+++ b/
jenkins.sh
@@
-11,6
+11,9
@@
time=`which time`
if [ -n "$time" ]; then
time="$time -v"
fi
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
echo "=== starting altos build at $(date) ==="
env
@@
-18,5
+21,5
@@
echo "======================================="
set -x
./autogen.sh $prefix $android
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