From 84412fdfdf9a6223ff480ab78130856ed3bf65c9 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Fri, 19 Dec 2014 11:59:11 +1030 Subject: 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 Signed-off-by: Stewart Smith --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 66fc1a6..5c7c1a6 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: -- cgit v1.1