mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-22 05:56:19 +00:00
18 lines
360 B
Bash
Executable File
18 lines
360 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export DESTDIR="$1"
|
|
|
|
cmake -B build \
|
|
-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 \
|
|
-Wno-dev
|
|
|
|
cmake --build build
|
|
cmake --install build
|