2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 00:10:05 -07:00
repo/extra/clang/build

18 lines
360 B
Plaintext
Raw Normal View History

2019-07-31 07:40:00 -06:00
#!/bin/sh -e
2019-11-13 17:29:42 -07:00
export DESTDIR="$1"
2019-07-31 07:40:00 -06:00
2019-11-13 17:29:42 -07:00
cmake -B build \
2019-07-31 07:40:00 -06:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_ENABLE_EH=ON \
-DCLANG_BUILD_EXAMPLES=OFF \
-DCLANG_INCLUDE_DOCS=OFF \
-DCLANG_INCLUDE_TESTS=OFF \
-DLIBCLANG_BUILD_STATIC=ON \
2019-11-13 17:29:42 -07:00
-Wno-dev
2019-07-31 07:40:00 -06:00
2019-11-13 17:29:42 -07:00
cmake --build build
cmake --install build