mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 16:45:07 +00:00
Updated Build (markdown)
parent
67a2932b92
commit
c831ad0ccc
4
Build.md
4
Build.md
@ -17,7 +17,7 @@ The simplest/quickest build with all defaults (only for POSIX systems) is:
|
|||||||
git clone --depth=1 --recursive https://github.com/MaskRay/ccls
|
git clone --depth=1 --recursive https://github.com/MaskRay/ccls
|
||||||
cd ccls
|
cd ccls
|
||||||
|
|
||||||
# Download "Pre-Built Binaries" from https://releases.llvm.org/downloads.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
|
||||||
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
|
||||||
@ -116,7 +116,7 @@ On Debian and its derivatives, you may install `libclang-*-dev` and `llvm-*-dev`
|
|||||||
|
|
||||||
### Prebuilt binaries
|
### Prebuilt binaries
|
||||||
|
|
||||||
Pick the one on https://releases.llvm.org/downloads.html that suits your system.
|
Pick the one on https://releases.llvm.org/download.html that suits your system.
|
||||||
Note, the Ubuntu 16.04 prebuit binaries are actually suitable for many non-Ubuntu distributions.
|
Note, the Ubuntu 16.04 prebuit binaries are actually suitable for many non-Ubuntu distributions.
|
||||||
|
|
||||||
After unpacking, `-DCMAKE_PREFIX_PATH=/path/to/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-16.04`
|
After unpacking, `-DCMAKE_PREFIX_PATH=/path/to/clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-16.04`
|
||||||
|
Loading…
Reference in New Issue
Block a user