@@ -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:
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> --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)