mirror of
https://github.com/ziglang/zig.git
synced 2024-11-22 04:10:13 +00:00
Updated How to build LLVM, libclang, and liblld from source (markdown)
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`
|
||||
|
Loading…
Reference in New Issue
Block a user