diff --git a/Build.md b/Build.md index 748e3b0..5503dbd 100644 --- a/Build.md +++ b/Build.md @@ -1,7 +1,5 @@ -Some distributions package a pre-built version of **ccls**. See the -system-specific sections below if you'd like to investigate that. - -Otherwise, you'll need to build **ccls** from source. You will need: +Some distributions package a pre-built version of **ccls**. See the +system-specific 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: @@ -27,9 +25,9 @@ Ubuntu 16.04 prebuilt binaries are actually suitable for many non-Ubuntu distrib You may replace the last two **cmake** commands with: ```sh -wget -c http://releases.llvm.org/7.0.1/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz -tar xf clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz -cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PWD/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-16.04 +wget -c http://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz +tar xf clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz +cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PWD/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.04 cmake --build Release ```