summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2014-12-19 11:59:11 +1030
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-12-19 13:38:34 +1100
commit84412fdfdf9a6223ff480ab78130856ed3bf65c9 (patch)
tree6d3130dd574f665faeb2458c2c74183d8e3cb621 /.travis.yml
parent9de1741e00b3e475108b9b69fbf86ae30e9c2745 (diff)
downloadtalos-skiboot-84412fdfdf9a6223ff480ab78130856ed3bf65c9.tar.gz
talos-skiboot-84412fdfdf9a6223ff480ab78130856ed3bf65c9.zip
travis: Install power8 simulator for make check
This downloads and installs mambo, the power8 simulator, including some dependencies to ensure it runs on Travis' ancient Ubuntu 12.04. Without the newer libc, you'll see a warning like this: /opt/ibm/systemsim-p8/bin/systemsim-pegasus: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/ibm/systemsim-p8/bin/systemsim-pegasus) Where GLIBCXX_3.4.20 is GCC 4.9. This is why we require libstdc++ from the ppa. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 66fc1a67..5c7c1a6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,14 +3,13 @@ language: c
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- - sudo apt-get install -y gcc-4.8
+ - sudo apt-get install -y gcc-4.8 libstdc++6 valgrind expect xterm
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
-
-install:
- - sudo apt-get install -y valgrind
- wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz
- sudo mkdir /opt/cross
- sudo tar -C /opt/cross -xvf x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz
+ - wget ftp://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb
+ - sudo dpkg -i systemsim-p8_1.0-2_amd64.deb
env:
global:
OpenPOWER on IntegriCloud