Build: mention Debian 11 has a ccls package

zhsj 2019-08-12 04:01:08 +08:00 committed by Fangrui Song
parent dc1b46fe07
commit 4c6326a762

@ -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