Linaro Blog

Linaro Android toolchain nightly builds available

Those have been up and running for a while, but we never announced it, so it may well be news ;-)
Nightly builds of the Linaro Android toolchain are now available at a constant URL. Builds of 3 branches are available:
gcc 4.6, gcc 4.7 and gcc trunk (what will eventually become 4.8).

At this time, we recommend using the 4.7 branch for production work (that’s also the branch we’re using for most official builds).

If you want to always have the latest and greatest for testing, simply add this (or something similar) as a cron job:


#!/bin/sh
D=`mktemp -d /tmp/TCXXXXXX`
[ -z "$D" ] && exit 1
cd "$D"
wget --no-check-certificate https://android-build.linaro.org/jenkins/view/Toolchain/job/linaro-android_toolchain-4.6-bzr/lastSuccessfulBuild/artifact/build/out/android-toolchain-eabi-4.6-daily-linux-x86.tar.bz2
wget --no-check-certificate https://android-build.linaro.org/jenkins/view/Toolchain/job/linaro-android_toolchain-4.7-bzr/lastSuccessfulBuild/artifact/build/out/android-toolchain-eabi-4.7-daily-linux-x86.tar.bz2
wget --no-check-certificate https://android-build.linaro.org/jenkins/view/Toolchain/job/linaro-android_toolchain-trunk/lastSuccessfulBuild/artifact/build/out/android-toolchain-eabi-trunk-daily-linux-x86.tar.bz2
cd /opt
rm -rf android-toolchain-eabi
tar xf "$D"/android-toolchain-eabi-4.6-daily-linux-x86.tar.bz2
rm -rf android-toolchain-4.6
mv android-toolchain-eabi android-toolchain-4.6
rm -rf android-toolchain-eabi android-toolchain-4.7
tar xf "$D"/android-toolchain-eabi-4.7-daily-linux-x86.tar.bz2
mv android-toolchain-eabi android-toolchain-4.7
rm -rf android-toolchain-eabi android-toolchain-trunk
tar xf "$D"/android-toolchain-eabi-trunk-daily-linux-x86.tar.bz2
mv android-toolchain-eabi android-toolchain-trunk
rm -rf "$D"

Related posts:

About Bernhard Rosenkränzer

Bernhard started developing software back when he saw his first computer - an Atari ST back in 1985. He has been involved in Linux and Open Source since 1993 - previous employers include MandrakeSoft (now Mandriva) and Red Hat, and various startups.
This entry was posted in Android, Releases. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>