Build

Fangrui Song 2018-10-03 09:26:28 -07:00
parent 7ed906883d
commit 7251220599

@ -25,11 +25,16 @@ are not supported at the moment.
Default: OFF
Enable `SYSTEM_CLANG` if you want to link ccls against a system/local Clang instead of downloading Clang from releases.llvm.org during the configure process.
```
```zsh
% cmake -H. -BRelease -DCMAKE_INSTALL_PREFIX=/usr -DSYSTEM_CLANG=On
% cmake --build Release
```
You can also use the option to use a downloaded and unpacked clang+llvm archive:
```zsh
cmake -GNinja -H. -BBundled -DSYSTEM_CLANG=on -DCMAKE_PREFIX_PATH=$PWD/build/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04
```
cmake will download the releases.llvm.org archive for you. If you want to download it manually:
```zsh
rm -r Release