doc: more details on local LLVM installation
Change-Id: Id85a9153d98bb0ecd9b903b3a98ad6941ccbecba
This commit is contained in:
@ -279,9 +279,12 @@ If your Linux distribution does not provide a library package for LLVM 3.3 or
|
|||||||
newer, and you need LLVM support in Fail*, you may need to build LLVM from the
|
newer, and you need LLVM support in Fail*, you may need to build LLVM from the
|
||||||
sources and install it, e.g., locally in your home.
|
sources and install it, e.g., locally in your home.
|
||||||
|
|
||||||
1. git clone http://llvm.org/git/llvm.git
|
1. Download the source tarball of LLVM 3.4 from http://llvm.org (or use the git
|
||||||
2. Check out the desired release branch, e.g., git checkout release_34
|
repository http://llvm.org/git/llvm.git and checkout release_34)
|
||||||
3. Configure as needed. On mixed 32/64-bit systems (userland/kernel),
|
2. Configure as needed. On mixed 32/64-bit systems (userland/kernel),
|
||||||
prefixing with "linux32" may be necessary:
|
prefixing with "linux32" may be necessary:
|
||||||
$ linux32 ./configure --prefix=$(echo ~/localroot/usr) --enable-optimized --disable-assertions --disable-werror
|
$ linux32 ./configure --prefix=$(echo ~/localroot/usr) --enable-optimized --disable-assertions --disable-werror
|
||||||
4. Build with "make REQUIRES_RTTI=1", install.
|
If you have an old version of clang installed, you may need to convince the
|
||||||
|
configure script to use gcc/g++ instead:
|
||||||
|
$ CC=gcc CXX=g++ ./configure --prefix=...
|
||||||
|
3. Build with "make REQUIRES_RTTI=1", install.
|
||||||
|
|||||||
Reference in New Issue
Block a user