mirror of
https://github.com/MaskRay/ccls.git
synced 2024-12-01 03:47:07 +00:00
Update to releases.llvm.org 8.0.0
parent
d049c7dde1
commit
1a80655c9b
12
Build.md
12
Build.md
@ -1,7 +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'd like to investigate that.
|
system-specific sections below. If you build **ccls** from source, you will need:
|
||||||
|
|
||||||
Otherwise, you'll need to 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:
|
||||||
@ -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:
|
You may replace the last two **cmake** commands with:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget -c http://releases.llvm.org/7.0.1/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
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-7.0.1-x86_64-linux-gnu-ubuntu-16.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-7.0.1-x86_64-linux-gnu-ubuntu-16.04
|
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
|
cmake --build Release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user