mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 10:31:56 +00:00
Added instructions for alpine linux
parent
16d19d2cab
commit
4e29d70a32
9
Build.md
9
Build.md
@ -122,6 +122,15 @@ The Windows prebuilt binaries lack C++ header files, thus they cannot be used.
|
|||||||
On GNU/Linux distributions with older versions of glibc (older than
|
On GNU/Linux distributions with older versions of glibc (older than
|
||||||
2013-04-25), such as Red Hat EL 6.x, append `-DCMAKE_CXX_FLAGS=-D__STDC_FORMAT_MACROS`
|
2013-04-25), such as Red Hat EL 6.x, append `-DCMAKE_CXX_FLAGS=-D__STDC_FORMAT_MACROS`
|
||||||
|
|
||||||
|
### Alpine Linux
|
||||||
|
```sh
|
||||||
|
apk add alpine-sdk cmake make clang clang-static clang-dev llvm-dev llvm-static \
|
||||||
|
&& git clone --depth=1 --recursive https://github.com/MaskRay/ccls \
|
||||||
|
&& cd ccls \
|
||||||
|
&& cmake -H. -BRelease -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
&& cmake --build Release --target install
|
||||||
|
```
|
||||||
|
|
||||||
### Arch Linux
|
### Arch Linux
|
||||||
|
|
||||||
Arch User Repository: [aur/ccls-git](https://aur.archlinux.org/packages/ccls-git).
|
Arch User Repository: [aur/ccls-git](https://aur.archlinux.org/packages/ccls-git).
|
||||||
|
Loading…
Reference in New Issue
Block a user