further attempt at lto with clang
This commit is contained in:
parent
0ac4fdcad6
commit
04d2482061
1 changed files with 11 additions and 0 deletions
11
.travis.yml
11
.travis.yml
|
@ -19,6 +19,17 @@ before_install:
|
|||
- sudo add-apt-repository -y ppa:boost-latest/ppa
|
||||
- sudo apt-get update -y
|
||||
- sudo apt-get install -y libstdc++6 libstdc++-4.8-dev make boost1.55 libgdal-dev libgdal1-dev libgdal1h=1.10.0-1~precise1 python-nose libicu-dev libpng-dev libjpeg-dev libtiff-dev libwebp-dev libz-dev libfreetype6-dev libxml2-dev libproj-dev libcairo-dev python-cairo-dev libsqlite3-dev
|
||||
- sudo apt-get install binutils-gold
|
||||
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
|
||||
- ls /usr/lib
|
||||
- ls /usr/local/clang-3.4/lib/
|
||||
- echo `which clang`
|
||||
- echo `which clang++`
|
||||
- sudo apt-get install clang-3.4
|
||||
- echo `which clang`
|
||||
- echo `which clang++`
|
||||
- sudo ln -s /usr/lib/llvm-3.4/lib/LLVMgold.so /usr/lib/LLVMgold.so
|
||||
- sudo ln -s /usr/lib/llvm-3.4/lib/libLTO.so /usr/lib/libLTO.so
|
||||
- if [[ "${CXX}" == 'g++' ]]; then sudo apt-get install gcc-4.8 g++-4.8; export CXX="$(which g++-4.8)"; export CC="$(which gcc-4.8)"; fi;
|
||||
- if [[ "${CXX}" == 'clang++' ]]; then export CXX="$(which clang++)"; export CC="$(which clang)"; fi;
|
||||
- wget http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.34.tar.bz2
|
||||
|
|
Loading…
Reference in a new issue