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 | |
parent | f56e22c11a20bb32fcffb816c69998a7159793c9 (diff) | |
download | repository-910b368c74f63dd0277fe9785b1a813b99a5916d.tar.gz |
llvm: add new package at 14.0.3
Diffstat (limited to 'alternatives')
-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 |