aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2014-11-27 15:00:36 +0100
committerJerome Forissier <jerome.forissier@linaro.org>2014-11-28 08:54:30 +0100
commit0494db9371ea6c5f113cb328b305dd0aa1337e19 (patch)
treeea477e2c8fad20161996f7d52e45778b81acdf6c
parentf435628cbba777d7e46f46f9f813a1dd9206a68b (diff)
Travis: use default arm32 compiler; fetch minimal dependencies
- Install the arm32 compiler provided by the distribution instead of the Linaro compiler - Install the minimal set of dependencies required by the Linaro Aarch64 compiler This speeds up the build significantly. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
-rw-r--r--.travis.yml19
1 files changed, 10 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 95cd1e2..130f4ac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,24 +1,25 @@
# One may have a look at http://docs.travis-ci.com/user/installing-dependencies/
+language: c
+
notifications:
- email: true
-# Installation of ia32 libs, required by the compiler
-# Installation of bc, required by the kernel
before_install:
+ # Install the arm32 cross-compiler
- sudo apt-get update -qq
- - sudo apt-get install -qq --force-yes bc
- - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi
+ - sudo apt-get install -y gcc-arm-linux-gnueabihf
+ - arm-linux-gnueabihf-gcc --version
+ # Install bc (required by the kernel)
+ - sudo apt-get install bc
+ # Install 32-bit compatibility libraries for the Linaro arm64 cross-compiler
+ # (which is a 32-bit x86 binary)
+ - if [ `uname -m` = x86_64 ]; then sudo apt-get install libc6-i386 lib32stdc++6 lib32z1; fi
before_script:
# Store the home repository
- export MYHOME=$PWD
- # Download the arm32 compiler
- - wget http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz
- - tar xf gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz
- - export PATH=$PATH:$PWD/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux/bin
-
# Download the arm64 compiler
- wget http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz
- tar xf gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz