3 # This script is used by Jenkins to perform a complete rebuild of Altos
6 prefix="--prefix=/usr/local"
7 ANDROID_SDK="${ANDROID_SDK:-$HOME/android-sdk-linux}"
8 android="--with-android=$ANDROID_SDK"
9 # use time if we have it
11 if [ -n "$time" ]; then
14 # NOTE: the build process may fail on multi-cpu systems. If it fails try setting cpus=1
18 echo "=== starting altos build at $(date) ==="
20 echo "======================================="
23 ./autogen.sh $prefix $android
25 $time make -j $cpus all fat