From 773c508f85847395c90c4c93b3355b1d0f56dba4 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 8 Dec 2022 17:59:39 +0100 Subject: clang, llvm: merge packages and drop llvm-huge repo --- extra/llvm/build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extra/llvm/build') diff --git a/extra/llvm/build b/extra/llvm/build index 337ebeb3..f8b0f3b0 100755 --- a/extra/llvm/build +++ b/extra/llvm/build @@ -2,12 +2,13 @@ export DESTDIR="$1" -cmake -B build \ +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_TARGETS_TO_BUILD="host;AMDGPU" \ + -DLLVM_ENABLE_PROJECTS="clang;lld" \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_HOST_TRIPLE="$(cc -dumpmachine)" \ -DLLVM_BUILD_EXAMPLES=OFF \ -- cgit v1.2.3