mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 16:45:07 +00:00
build
parent
75655224cb
commit
ab17a5ea65
2
Build.md
2
Build.md
@ -109,7 +109,7 @@ git clone https://git.llvm.org/git/clang.git llvm/tools/clang
|
||||
cd llvm
|
||||
# create a build directory named `Release/`
|
||||
cmake -H. -BRelease -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_LLD=ON -DLLVM_TARGETS_TO_BUILD=X86
|
||||
ninja -C Release clangFormat clangIndex clangTooling
|
||||
ninja -C Release clangFormat clangFrontendTool clangIndex clangTooling
|
||||
```
|
||||
|
||||
* Remove `LLVM_ENABLE_LLD` if you don't have lld (a much faster linker than bfd/gold) installed
|
||||
|
Loading…
Reference in New Issue
Block a user