mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 09:31:59 +00:00
Made the build instructions more clear, after struggling due to making the mistake of unpacking Clang to a /tmp directory
parent
d05e4b5150
commit
4a666ae0c3
5
Build.md
5
Build.md
@ -16,7 +16,10 @@ git clone --depth=1 --recursive https://github.com/MaskRay/ccls
|
|||||||
cd ccls
|
cd ccls
|
||||||
|
|
||||||
# Download "Pre-Built Binaries" from https://releases.llvm.org/download.html
|
# Download "Pre-Built Binaries" from https://releases.llvm.org/download.html
|
||||||
# and unpack to /path/to/clang+llvm-xxx
|
# and unpack to /path/to/clang+llvm-xxx.
|
||||||
|
# Do not unpack to a temporary directory, as the clang resource directory is hard-coded
|
||||||
|
# into ccls at compile time!
|
||||||
|
# See https://github.com/MaskRay/ccls/wiki/FAQ#verify-the-clang-resource-directory-is-correct
|
||||||
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/path/to/clang+llvm-xxx
|
cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/path/to/clang+llvm-xxx
|
||||||
cmake --build Release
|
cmake --build Release
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user