diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2016-08-22 15:28:37 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2016-08-22 15:28:37 -0700 |
commit | ca412c6b324e3f2ba0e34445a655236eafe6c244 (patch) | |
tree | 33beeb269e10819c4835e74808fb1861203a936a /README.md | |
parent | 2d943478573dc85dddb232cf0e82908a5a4c00ea (diff) |
Expand the build instructions when using llvm 3.9
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -33,16 +33,28 @@ with more features (such as detection of inlined functions). # pacman -S clang clang-tools-extra ``` +### Building clang 3.9 + +Follow the instructions here: http://clang.llvm.org/get_started.html + +Those instructions list optional steps. For bindgen: + +* Checkout and build the extra-clang-tools +* Checkout and build the compiler-rt +* You do not need to checkout or build libcxx + ## Building ``` $ cargo build --features llvm_stable ``` -If you want a build with extra features (llvm 3.9) then you can just use: +If you want a build with extra features (llvm 3.9) then you can use: ``` -$ cargo build +$ LIBCLANG_PATH=path/to/clang-3.9/build/lib \ + LD_LIBRARY_PATH=path/to/clang-3.9/build/lib \ + cargo build ``` # Command Line Usage |