mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Debian
parent
2b1e8f2507
commit
adf0304c93
9
Build.md
9
Build.md
@ -137,11 +137,18 @@ To build **ccls** on Arch Linux with system clang+llvm: `cmake -H. -BRelease -DU
|
||||
`extra/clang` and `extra/llvm` provide `/usr/lib/{libclangAST.so,libLLVM*.a,libLLVM.so}`.
|
||||
`libclangAST.so` needs `libLLVM.so` and there would be a conflict if `libLLVM*.a` (instead of `libLLVM.so`) are linked. See https://bugs.archlinux.org/task/60512
|
||||
|
||||
### Debian
|
||||
|
||||
```sh
|
||||
apt install clang-7 libclang-7-dev
|
||||
cmake -H. -BRelease -DCMAKE_PREFIX_PATH=/usr/lib/llvm-7 -DLLVM_ENABLE_RTTI=on
|
||||
```
|
||||
|
||||
### Gentoo Linux
|
||||
|
||||
To build **ccls** on Gentoo Linux with system Clang+LLVM: `cmake -H. -BRelease -DLLVM_ENABLE_RTTI=on`
|
||||
|
||||
### Debian / Ubuntu
|
||||
### Ubuntu
|
||||
|
||||
To build from source you'll need `sudo apt install zlib1g-dev ncurses-dev`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user