# Generated by makepkg 6.1.0
# Sun Sep 14 19:49:56 UTC 2025
pkgbase = llvm
	pkgdesc = C language family frontend for LLVM
	pkgver = 21.1.1
	pkgrel = 2
	url = https://llvm.org/
	arch = i686
	arch = x86_64
	license = spdx:Apache-2.0 WITH LLVM-exception
	makedepends = cmake
	makedepends = clang
	makedepends = ninja
	makedepends = pkgconf
	makedepends = python
	makedepends = git
	makedepends = libzstd-devel
	makedepends = zlib-devel
	noextract = llvm-21.1.1.src.tar.xz
	noextract = clang-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/llvm-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/llvm-21.1.1.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/clang-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/clang-21.1.1.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/compiler-rt-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/compiler-rt-21.1.1.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/lld-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/lld-21.1.1.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/cmake-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/cmake-21.1.1.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/libunwind-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/libunwind-21.1.1.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/runtimes-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/runtimes-21.1.1.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/third-party-21.1.1.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.1/third-party-21.1.1.src.tar.xz.sig
	source = 0001-hack-tablegentest.patch
	source = 0002-LLVM-Cygwin-Enable-conditions-that-are-shared-with-M.patch
	source = 0003-lli-Fix-crash-with-no-process-syms-on-MinGW-151386.patch
	source = 0004-llvm-Enable-building-Analysis-plugins-on-Cygwin-1513.patch
	source = 0005-LLVM-adjust-lit.cfg.py-for-Cygwin-151416.patch
	source = 0006-LLVM-Support-Fix-tests-on-Cygwin-151417.patch
	source = 0007-LLVM-lit-add-system-cygwin-feature-152780.patch
	source = 0008-LLVM-Coverage-Unittest-Fix-dangling-reference-in-uni.patch
	source = 0101-Clang-Cygwin-Enable-few-conditions-that-are-shared-w.patch
	source = 0102-hack-cygwin-allow-multiple-definition-in-c-index-tes.patch
	source = 0103-Cygwin-Internal-class-in-explicitly-instantiation-de.patch
	source = 0104-Clang-Cygwin-call-linker-directly.patch
	source = 0105-Tests-Add-system-cygwin-feature-and-use-it.-152611.patch
	source = 0106-Clang-Cygwin-Use-correct-mangling-rule-158404.patch
	source = 0107-Clang-Cygwin-Cygwin-x86_64-should-accept-__stdcall-1.patch
	source = 0199-msysize.patch
	source = 0201-LLD-COFF-Prevent-to-emit-relocations-for-discarded-w.patch
	validpgpkeys = B6C8F98282B944E3B0D5C2530FC3042E345AD05D
	validpgpkeys = 474E22316ABF4785A88C6E8EA2C794A986419D8A
	validpgpkeys = D574BD5D1D0E98895E3BF90044F2485E45D59042
	sha256sums = 23336f9f2290f2317121a5995e298a4616041ba06cbb07cfd1220a21b48775fe
	sha256sums = SKIP
	sha256sums = 65a19a75440c6d0f92138d82432e7a201677fad5cecf39d3200eaa2f458c29e3
	sha256sums = SKIP
	sha256sums = f5e46d1734be28bc8ea83d0a5621a43388d349def91e37e6907609e5b67d1f8e
	sha256sums = SKIP
	sha256sums = 5e83536d8197ba38f40b8c4fbdeef7315a7dc15ed894a7b837a9a3482b9f80ef
	sha256sums = SKIP
	sha256sums = 9c0b9064b7d0f2a3004f1d034aadf84d2af4e5dca2135ebf697b0a1eb85ef769
	sha256sums = SKIP
	sha256sums = 1a8847f4c256d2eac5852b8f821205862f925eadf013cd3a660bd8a28a2849ec
	sha256sums = SKIP
	sha256sums = e28a57f3895f0d652aaaf9389b3db691d4200241815333d9e5edd25c2cdc4c2e
	sha256sums = SKIP
	sha256sums = e9b7299b0b32aa827231ed35101a3b5ea37dd5a45719225cb2c08ac571791233
	sha256sums = SKIP
	sha256sums = 7cb70e14a5c6e87ef28427356ad3d366d58c367b2039d2a3bf92fa7dee33d79d
	sha256sums = 275eb63a8d99bf9c3f6168665641fea1010448a9296b3d6b41d1ba1e78d1201e
	sha256sums = dec5e5a939486550a260c939e5f0d6d31aa3325f4849524eb79578893f25872b
	sha256sums = a4b7a1c928416f649e5e33a49e998ddbd89866e7f3cbb453a389ee210f0d43fa
	sha256sums = f6152e93c0e6787609c32d84f097475dab91897102c91f58b8e921b8ceabf25f
	sha256sums = dcf2d91ed1ec5e9b885c8de47fe7dc10465491a2b2e686c16a5819da14efbb9c
	sha256sums = 18066ca1e97147650e139399db91066453b8a3f00ea0c7187b73f5eedbb56927
	sha256sums = 5580ef79c1cbe3efd0cc4fca078f29879be8764c62b1792fc7f74350ff862a67
	sha256sums = c978145529c8f8f0f13192f7d705c7e5359c2c67cc01e0012679847cbbce9e12
	sha256sums = b217f87de73cb6255997ef76630e3bc6e9a99398bd713e79d6c6da500620f60b
	sha256sums = 9b6b248f63e04f810b4d1d919f0b2eb584b08888f0dad11d41e56769e0a01d10
	sha256sums = 08045ec514a0e9338cc46ad17ffcebb3c421c5eb3dd0ad2bade1bfb4e768f9c2
	sha256sums = 18320250d0e175d6dabdfa44e6dc6fee6c6ca30ca91e9e1ed1f7c27417b7a671
	sha256sums = 024e13f86a5d3f181a3068ae7bbb7ba2ab11e062a12b8b949c7803ab1e057a6f
	sha256sums = be30d166830d23cb891d380e4e97287d5d88409eda8d0202e90d52fc183f020b
	sha256sums = 31fb13550d55f7517150fa6a367b8e618f4b5ce21067d4d91d8a5b3d22bd0ad7
	sha256sums = fc4b425f9e88200a0baef63d0dbc23c70dce66f3e08fafa85717078c80ae8e2f

pkgname = llvm
	pkgdesc = Low Level Virtual Machine
	depends = llvm-libs=21.1.1

pkgname = llvm-libs
	pkgdesc = Low Level Virtual Machine Runtime Libraries
	depends = gcc-libs
	depends = libzstd
	depends = zlib
	conflicts = llvm<21.1.0

pkgname = clang
	pkgdesc = C language family frontend for LLVM
	url = https://clang.llvm.org/
	depends = gcc
	depends = llvm-libs=21.1.1
	optdepends = compiler-rt: for -rtlib=compiler-rt
	optdepends = llvm=21.1.1

pkgname = clang-analyzer
	pkgdesc = A source code analysis framework
	url = https://clang-analyzer.llvm.org/
	depends = clang=21.1.1
	depends = python

pkgname = compiler-rt
	pkgdesc = Runtime libraries for Clang and LLVM
	url = https://compiler-rt.llvm.org/
	depends = gcc-libs

pkgname = lld
	pkgdesc = Linker tools for LLVM
	url = https://lld.llvm.org/
	depends = gcc-libs
	depends = llvm-libs=21.1.1
