Updated How to build LLVM, libclang, and liblld from source (markdown)

Andrew Kelley 2017-03-30 05:07:02 -04:00
parent 08b93b4062
commit 967c1b8c68

@ -1,3 +1,5 @@
Typically I use the path `~/local` since it does not require root to install, and it's sandboxed away from the rest of my system. If there's garbage in that directory then I just wipe it and start over.
```
$ cd llvm-4.0.0.src/
$ mkdir build
@ -22,5 +24,5 @@ $ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/local -DCMAKE_PREFIX_PATH=$HOME/local -D
$ make install
```
then add to your zig cmake line that you got from the readme:
Then add to your zig cmake line that you got from the readme:
`-DCMAKE_PREFIX_PATH=$HOME/local`