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 # Download and build a custom llvm
git clone https://github.com/llvm-mirror/llvm git clone https://github.com/llvm-mirror/llvm
cd llvm cd llvm
git checkout release_37 git checkout release_38
cd tools cd tools
git clone https://github.com/llvm-mirror/clang git clone https://github.com/llvm-mirror/clang
cd clang cd clang
git remote add mwu https://github.com/michaelwu/clang git checkout release_38
git fetch mwu
git checkout release_37_smhacks
cd ../.. # llvm root dir cd ../.. # llvm root dir
mkdir build mkdir build
cd build cd build
../configure --enable-optimized cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make make -j8

View file

@ -4,7 +4,9 @@
cd "$(dirname $0)" cd "$(dirname $0)"
# Setup and build bindgen. # 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. # Make sure we have a custom clang set up.