Install g++-4.8 before installing llvm 3.5

This commit is contained in:
Kyle Sanderson 2015-02-21 19:20:18 -08:00
parent cd304dc800
commit f235f97d95

View File

@ -5,6 +5,10 @@ before_script:
- sudo apt-get update -qq
- sudo apt-get install -y python-software-properties
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/ppa
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main" | sudo tee --append /etc/apt/sources.list
- echo "deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main" | sudo tee --append /etc/apt/sources.list
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -