Files
2026-03-21 12:43:00 -05:00

120 lines
2.9 KiB
TOML

[package]
name = "llvm"
version = "22.1.1"
revision = 2
description = "Collection of modular and reusable compiler and toolchain technologies"
homepage = "https://llvm.org/"
license = ["Apache-2.0 WITH LLVM-exception"]
[[packages]]
name = "clang"
version = "22.1.1"
revision = 2
description = "Modern C, C++, and Objective-C frontend built on LLVM"
homepage = "https://llvm.org/"
license = ["Apache-2.0 WITH LLVM-exception"]
[[packages]]
name = "llvm-libs"
version = "22.1.1"
revision = 2
description = "Essential shared runtime libraries for LLVM/Clang users"
homepage = "https://llvm.org/"
license = ["Apache-2.0 WITH LLVM-exception"]
[[packages]]
name = "libcxx"
version = "22.1.1"
revision = 2
description = "LLVM libc++, libc++abi, and related runtime components"
homepage = "https://llvm.org/"
license = ["Apache-2.0 WITH LLVM-exception"]
[[packages]]
name = "llvm-libgcc"
version = "22.1.1"
revision = 2
description = "LLVM low-level runtime support (compiler-rt/libunwind style)"
homepage = "https://llvm.org/"
license = ["Apache-2.0 WITH LLVM-exception"]
[[packages]]
name = "flang"
version = "22.1.1"
revision = 2
description = "Fortran frontend for LLVM"
homepage = "https://llvm.org/"
license = ["Apache-2.0 WITH LLVM-exception"]
[source]
url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz"
sha256 = "sha256:9c6f37f6f5f68d38f435d25f770fc48c62d92b2412205767a16dac2c942f0c95"
extract_dir = "llvm-project-$version.src"
patches = [ "0001-llvm-always-set-a-larger-stack-size-explicitly.patch", "llvm-project-22.1.1-compiler-rt-i386-tf-builtins.patch" ]
[[manual_sources]]
files = [ "llvm-project-22.1.1-compiler-rt-i386-tf-builtins.patch", "0001-llvm-always-set-a-larger-stack-size-explicitly.patch" ]
[build]
type = "custom"
[build.flags]
skip_tests = true
no_delete_static = true
use_lto = false
split_docs = true
[dependencies]
build = [
"cmake",
"ninja",
"libffi",
"python-setuptools",
"zstd",
"libxml215",
"curl",
"python-sphinx",
"python-wheel",
"python-setuptools",
"python-myst-parser",
"python-psutil",
"git",
"lib32-glibc"
]
runtime = [
"libcxx",
"libffi",
"libxml215",
"zlib-ng",
"zstd",
"glibc",
"llvm-libgcc",
]
[package_dependencies.llvm-libs]
runtime = ["llvm-libgcc", "libffi", "libxml215", "zlib-ng", "zstd", "libedit"]
[package_dependencies.libcxx]
runtime = ["libunwind", "glibc"]
[package_dependencies.llvm-libgcc]
runtime = ["glibc"]
[package_dependencies.clang]
runtime = ["llvm-libs", "llvm-libgcc"]
[package_dependencies.flang]
runtime = ["libffi", "llvm-libs", "zstd", "zlib-ng", "llvm", "compiler-rt"]
[package_alternatives.llvm]
provides = ["binutils"]
[package_alternatives.clang]
provides = ["cc", "c++", "gcc"]
[package_alternatives.libcxx]
provides = ["libstdc++", "libc++"]
[package_alternatives.llvm-libgcc]
provides = ["libgcc", "compiler-rt", "libunwind"]