From 4c6326a762449e187e22eb1b72a6acef4a53f26a Mon Sep 17 00:00:00 2001 From: zhsj Date: Mon, 12 Aug 2019 04:01:08 +0800 Subject: [PATCH] Build: mention Debian 11 has a ccls package --- Build.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Build.md b/Build.md index e14f04c..6a961d3 100644 --- a/Build.md +++ b/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