diff options
author | Cem Keylan <cem@ckyln.com> | 2022-05-13 00:24:15 +0200 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-05-13 00:24:25 +0200 |
commit | 910b368c74f63dd0277fe9785b1a813b99a5916d (patch) | |
tree | 6ce3067d417c5ded1c3ddb69d562de6eb5cd44da /alternatives/llvm-huge/llvm/build | |
parent | f56e22c11a20bb32fcffb816c69998a7159793c9 (diff) | |
download | repository-910b368c74f63dd0277fe9785b1a813b99a5916d.tar.gz |
llvm: add new package at 14.0.3
Diffstat (limited to 'alternatives/llvm-huge/llvm/build')
-rwxr-xr-x | alternatives/llvm-huge/llvm/build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/alternatives/llvm-huge/llvm/build b/alternatives/llvm-huge/llvm/build new file mode 100755 index 00000000..f57f3451 --- /dev/null +++ b/alternatives/llvm-huge/llvm/build @@ -0,0 +1,19 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +cmake -S llvm -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIBCXX_HAS_MUSL_LIBC=YES \ + -DLLVM_BUILD_LLVM_DYLIB=ON \ + -DLLVM_LINK_LLVM_DYLIB=ON \ + -DLLVM_ENABLE_PROJECTS="clang;lld" \ + -DLLVM_ENABLE_RTTI=ON \ + -DLLVM_BUILD_EXAMPLES=OFF \ + -DLLVM_BUILD_DOCS=OFF \ + -DLLVM_BUILD_TESTS=OFF \ + -Wno-dev + +cmake --build build +cmake --install build |