geckolib: tools: Switch to llvm+clang 38

It also has our patches, and we'll benefit from improvements.
This commit is contained in:
Emilio Cobos Álvarez 2016-03-23 02:40:45 +01:00
parent 13d7b33a04
commit 706285123c
2 changed files with 7 additions and 7 deletions

View file

@ -12,15 +12,13 @@ fi
# Download and build a custom llvm
git clone https://github.com/llvm-mirror/llvm
cd llvm
git checkout release_37
git checkout release_38
cd tools
git clone https://github.com/llvm-mirror/clang
cd clang
git remote add mwu https://github.com/michaelwu/clang
git fetch mwu
git checkout release_37_smhacks
git checkout release_38
cd ../.. # llvm root dir
mkdir build
cd build
../configure --enable-optimized
make
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make -j8

View file

@ -4,7 +4,9 @@
cd "$(dirname $0)"
# Setup and build bindgen.
export LIBCLANG_PATH="$(pwd)/llvm/build/Release+Asserts/lib"
export LIBCLANG_PATH="$(pwd)/llvm/build/lib"
export LD_LIBRARY_PATH="$(pwd)/llvm/build/lib"
export DYLD_LIBRARY_PATH="$(pwd)/llvm/build/lib"
# Make sure we have a custom clang set up.