mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-16 21:58:08 +00:00
Adding Ubuntu 20.04 instructions
parent
a55d4aa591
commit
5fcfc6a10c
10
Build.md
10
Build.md
@ -32,6 +32,16 @@ cmake --build Release
|
||||
```
|
||||
[source](https://github.com/EOSIO/eos/issues/43)
|
||||
|
||||
As of 2020-06-23 no pre-built binaries exist for Ubuntu 20.04. `sudo apt get install clang` and all the other dependencies listed here **excluding** rapidjson-dev (it is vendored in this repo), then run
|
||||
```sh
|
||||
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_PREFIX_PATH=/usr/lib/llvm-10 \
|
||||
-DLLVM_INCLUDE_DIR=/usr/lib/llvm-10/include \
|
||||
-DLLVM_BUILD_INCLUDE_DIR=/usr/include/llvm-10/
|
||||
```
|
||||
**Ignore** `fatal: No names found, cannot describe anything` message
|
||||
Proceed with `cmake --build Release` and, if successful, `cd Release && sudo make install`
|
||||
|
||||
Ubuntu 18.04 prebuilt binaries are actually suitable for many non-Ubuntu distributions.
|
||||
You may replace the last two **cmake** commands with:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user