diff --git a/Build.md b/Build.md index 61074b9..9d5db95 100644 --- a/Build.md +++ b/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 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).