From 910b368c74f63dd0277fe9785b1a813b99a5916d Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 13 May 2022 00:24:15 +0200 Subject: llvm: add new package at 14.0.3 --- alternatives/llvm-huge/README.md | 7 +++++++ alternatives/llvm-huge/llvm/build | 19 +++++++++++++++++++ alternatives/llvm-huge/llvm/checksums | 2 ++ alternatives/llvm-huge/llvm/depends | 3 +++ alternatives/llvm-huge/llvm/meta | 3 +++ alternatives/llvm-huge/llvm/sources | 1 + alternatives/llvm-huge/llvm/version | 1 + 7 files changed, 36 insertions(+) create mode 100644 alternatives/llvm-huge/README.md create mode 100755 alternatives/llvm-huge/llvm/build create mode 100644 alternatives/llvm-huge/llvm/checksums create mode 100644 alternatives/llvm-huge/llvm/depends create mode 100644 alternatives/llvm-huge/llvm/meta create mode 100644 alternatives/llvm-huge/llvm/sources create mode 100644 alternatives/llvm-huge/llvm/version (limited to 'alternatives') 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 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 -- cgit v1.2.3