diff options
-rw-r--r-- | alternatives/llvm-huge/README.md | 7 | ||||
-rwxr-xr-x | alternatives/llvm-huge/llvm/build | 19 | ||||
-rw-r--r-- | alternatives/llvm-huge/llvm/checksums | 2 | ||||
-rw-r--r-- | alternatives/llvm-huge/llvm/depends | 3 | ||||
-rw-r--r-- | alternatives/llvm-huge/llvm/meta | 3 | ||||
-rw-r--r-- | alternatives/llvm-huge/llvm/sources | 1 | ||||
-rw-r--r-- | alternatives/llvm-huge/llvm/version | 1 |
7 files changed, 36 insertions, 0 deletions
diff --git a/alternatives/llvm-huge/README.md b/alternatives/llvm-huge/README.md new file mode 100644 index 00000000..9696d82e --- /dev/null +++ b/alternatives/llvm-huge/README.md @@ -0,0 +1,7 @@ +llvm-huge +========= + +This alternative repository provides a "huge" version of LLVM. This build +includes Clang, LLD, and all targets are enabled. You do not need this in most +cases, so it's provided as an alternative package. If you're using this package +you don't need to install the `clang` package 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 diff --git a/alternatives/llvm-huge/llvm/checksums b/alternatives/llvm-huge/llvm/checksums new file mode 100644 index 00000000..d0f45aac --- /dev/null +++ b/alternatives/llvm-huge/llvm/checksums @@ -0,0 +1,2 @@ +%BLAKE3 +a5d124a63dfd73e42d668a4fb81fda02394c63c9d2dc42f216f91a383946ea5f llvm-project-14.0.3.src.tar.xz diff --git a/alternatives/llvm-huge/llvm/depends b/alternatives/llvm-huge/llvm/depends new file mode 100644 index 00000000..126422ec --- /dev/null +++ b/alternatives/llvm-huge/llvm/depends @@ -0,0 +1,3 @@ +cmake make +python make +zlib diff --git a/alternatives/llvm-huge/llvm/meta b/alternatives/llvm-huge/llvm/meta new file mode 100644 index 00000000..26ff2b56 --- /dev/null +++ b/alternatives/llvm-huge/llvm/meta @@ -0,0 +1,3 @@ +description: Low Level Virtual Machine +license: Apache-2.0 +maintainer: Cem Keylan <cem@carbslinux.org> diff --git a/alternatives/llvm-huge/llvm/sources b/alternatives/llvm-huge/llvm/sources new file mode 100644 index 00000000..ef2c670b --- /dev/null +++ b/alternatives/llvm-huge/llvm/sources @@ -0,0 +1 @@ +https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.3/llvm-project-14.0.3.src.tar.xz diff --git a/alternatives/llvm-huge/llvm/version b/alternatives/llvm-huge/llvm/version new file mode 100644 index 00000000..cead9d58 --- /dev/null +++ b/alternatives/llvm-huge/llvm/version @@ -0,0 +1 @@ +14.0.3 1 |