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
|
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.
|
* [CMake](https://cmake.org/) 3.8 or higher.
|
||||||
* A C++ compiler with C++17 support:
|
* A C++ compiler with C++17 support:
|
||||||
@ -137,9 +137,14 @@ Also you can install ccls-git from the archlinuxcn repo using pacman.
|
|||||||
### Debian
|
### Debian
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# system clang: apt install clang-7 libclang-7-dev
|
# bullseye/11 and later
|
||||||
sudo apt install zlib1g-dev libncurses-dev
|
sudo apt install ccls
|
||||||
cmake -H. -BRelease -DCMAKE_PREFIX_PATH=/usr/lib/llvm-7
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# build from source
|
||||||
|
sudo apt install clang cmake libclang-dev llvm-dev rapidjson-dev
|
||||||
|
cmake -H. -BRelease
|
||||||
```
|
```
|
||||||
|
|
||||||
### Fedora
|
### Fedora
|
||||||
|
Loading…
Reference in New Issue
Block a user