Added instructions for alpine linux

Reza Nikoopour 2020-02-13 17:15:19 -08:00
parent 16d19d2cab
commit 4e29d70a32

@ -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
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 User Repository: [aur/ccls-git](https://aur.archlinux.org/packages/ccls-git).