2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00

clang: better build

This commit is contained in:
Dylan Araps 2019-11-14 00:29:42 +00:00
parent 8a95a1fd66
commit 5469b31a04
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -1,9 +1,8 @@
#!/bin/sh -e
mkdir -p build
cd build
export DESTDIR="$1"
cmake \
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_RTTI=ON \
@ -12,7 +11,7 @@ cmake \
-DCLANG_INCLUDE_DOCS=OFF \
-DCLANG_INCLUDE_TESTS=OFF \
-DLIBCLANG_BUILD_STATIC=ON \
-Wno-dev -G "Unix Makefiles" ..
-Wno-dev
make
make DESTDIR="$1" install
cmake --build build
cmake --install build