# Generated by makepkg 6.1.0
# Fri Jan 30 12:20:31 UTC 2026
pkgbase = llvm
	pkgdesc = C language family frontend for LLVM
	pkgver = 21.1.8
	pkgrel = 1
	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
	makedepends = libxml2-devel
	makedepends = libedit-devel
	noextract = llvm-21.1.8.src.tar.xz
	noextract = clang-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/llvm-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/llvm-21.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/clang-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/clang-21.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/compiler-rt-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/compiler-rt-21.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/lld-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/lld-21.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/cmake-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/cmake-21.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/libunwind-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/libunwind-21.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/runtimes-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/runtimes-21.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/third-party-21.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/third-party-21.1.8.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 = 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
	validpgpkeys = FFB3368980F3E6BB5737145A316C56D064CACBA5
	sha256sums = d9022ddadb40a15015f6b27e6549a7144704ded8828ba036ffe4b8165707de21
	sha256sums = SKIP
	sha256sums = 6090e3f23720d003cdd84483a47d0eec6d01adbb5e0c714ac0c8b58de546aa62
	sha256sums = SKIP
	sha256sums = dd54ae21aee1780fac59445b51ebff601ad016b31ac3a7de3b21126fd3ccb229
	sha256sums = SKIP
	sha256sums = d9524c5ee952500a2af92c27042a0d90ab089962af47816d4c85d0ebf76373d1
	sha256sums = SKIP
	sha256sums = 85735f20fd8c81ecb0a09abb0c267018475420e93b65050cc5b7634eab744de9
	sha256sums = SKIP
	sha256sums = 03e8adc6c3bdde657dcaedc94886ea70d1f7d551d622fcd8a36a8300e5c36cbc
	sha256sums = SKIP
	sha256sums = b6989d35cdfc1acee4af1d110fb8887f76831eb93e1df6ff7365004048742db8
	sha256sums = SKIP
	sha256sums = 7fe99424384aea529ffaeec9cc9dfb8b451fd1852c03fc109e426fe208a1f1a7
	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 = be30d166830d23cb891d380e4e97287d5d88409eda8d0202e90d52fc183f020b
	sha256sums = 31fb13550d55f7517150fa6a367b8e618f4b5ce21067d4d91d8a5b3d22bd0ad7
	sha256sums = fc4b425f9e88200a0baef63d0dbc23c70dce66f3e08fafa85717078c80ae8e2f

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

pkgname = llvm-libs
	pkgdesc = Low Level Virtual Machine Runtime Libraries
	depends = gcc-libs
	depends = libzstd
	depends = zlib
	depends = libxml2
	depends = libedit
	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.8
	optdepends = compiler-rt: for -rtlib=compiler-rt
	optdepends = llvm=21.1.8

pkgname = clang-analyzer
	pkgdesc = A source code analysis framework
	url = https://clang-analyzer.llvm.org/
	depends = clang=21.1.8
	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.8
