mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 16:45:07 +00:00
Build: mention Debian 11 has a ccls package
parent
dc1b46fe07
commit
4c6326a762
13
Build.md
13
Build.md
@ -1,5 +1,5 @@
|
||||
Some distributions package a pre-built version of **ccls**. See the
|
||||
system-specific sections below. If you build **ccls** from source, you will need:
|
||||
[system-specific](#system-specific-notes) sections below. If you build **ccls** from source, you will need:
|
||||
|
||||
* [CMake](https://cmake.org/) 3.8 or higher.
|
||||
* A C++ compiler with C++17 support:
|
||||
@ -137,9 +137,14 @@ Also you can install ccls-git from the archlinuxcn repo using pacman.
|
||||
### Debian
|
||||
|
||||
```sh
|
||||
# system clang: apt install clang-7 libclang-7-dev
|
||||
sudo apt install zlib1g-dev libncurses-dev
|
||||
cmake -H. -BRelease -DCMAKE_PREFIX_PATH=/usr/lib/llvm-7
|
||||
# bullseye/11 and later
|
||||
sudo apt install ccls
|
||||
```
|
||||
|
||||
```sh
|
||||
# build from source
|
||||
sudo apt install clang cmake libclang-dev llvm-dev rapidjson-dev
|
||||
cmake -H. -BRelease
|
||||
```
|
||||
|
||||
### Fedora
|
||||
|
Loading…
Reference in New Issue
Block a user