# Generated by makepkg 6.1.0
# Fri May 16 23:26:05 UTC 2025
pkgbase = llvm
	pkgdesc = C language family frontend for LLVM
	pkgver = 20.1.5
	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
	noextract = clang-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/llvm-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/llvm-20.1.5.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/clang-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/clang-20.1.5.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/compiler-rt-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/compiler-rt-20.1.5.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/lld-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/lld-20.1.5.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/cmake-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/cmake-20.1.5.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/libunwind-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/libunwind-20.1.5.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/runtimes-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/runtimes-20.1.5.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/third-party-20.1.5.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.5/third-party-20.1.5.src.tar.xz.sig
	source = 0001-LLVM-Cygwin-Fix-symbol-visibility-definition.patch
	source = 0002-LLVM-Cygwin-Remove-special-case-for-CXX-extensions-o.patch
	source = 0003-LLVM-Cygwin-Fix-shared-library-name-136599.patch
	source = 0004-LLVM-Cygwin-Fix-Signals-compatibility-with-Cygwin-AP.patch
	source = 0005-LLVM-TargetParser-Handle-msys-targets-the-same-as-cy.patch
	source = 0006-LLVM-Cygwin-Define-_GNU_SOURCE-on-Cygwin-as-well.-13.patch
	source = 0007-Cygwin-Emit-COMDAT-name-correctly-for-Cygwin-138621.patch
	source = 0101-Cygwin-Global-symbols-should-be-external-by-default-.patch
	source = 0102-Clang-Cygwin-Enable-few-conditions-that-are-shared-w.patch
	source = 0103-Cygwin-Enable-TLS-on-Cygwin-target-138618.patch
	source = 0104-Clang-Cygwin-Fix-symbol-visibility-definition-138118.patch
	source = 0105-Cygwin-RTTI-and-VTable-should-be-dllexport-ed-139798.patch
	source = 0106-Clang-Cygwin-Disable-shared-libs-on-Cygwin-by-defaul.patch
	source = 0107-Clang-Cygwin-Remove-erroneous-_WIN32-define-and-clea.patch
	source = 0108-Clang-Cygwin-don-t-use-Bsymbolic-functions-138217.patch
	source = 0109-hack-cygwin-allow-multiple-definition-c-index-test.patch
	source = 0110-Clang-Driver-add-a-Cygwin-ToolChain-135691.patch
	source = 0111-Clang-Driver-use-__cxa_atexit-by-default-on-Cygwin.-.patch
	source = 0112-Clang-CMake-use-CMakePushCheckState-138783.patch
	source = 0113-CMake-respect-LLVMConfig.cmake-s-LLVM_DEFINITIONS.patch
	source = 0114-Cygwin-Internal-class-in-explicitly-instantiation-de.patch
	source = 0115-Cygwin-Template-instantiations-should-be-exported-by.patch
	source = 0201-LLD-MinGW-Implement-dll-search-prefix-option.patch
	source = 0203-LLD-COFF-add-__-data-bss-_-start-end-__-symbols-for-.patch
	source = 0204-LLD-MinGW-Fall-back-to-using-default-target-if-no-m-.patch
	source = 0205-LLD-COFF-Ensure-.bss-is-merged-at-the-end-of-a-secti.patch
	source = 0206-LLD-CMake-fix-testing-standalone-build-without-insta.patch
	validpgpkeys = B6C8F98282B944E3B0D5C2530FC3042E345AD05D
	validpgpkeys = 474E22316ABF4785A88C6E8EA2C794A986419D8A
	validpgpkeys = D574BD5D1D0E98895E3BF90044F2485E45D59042
	sha256sums = 9a9a80ca4c0d902531f2b43e9e4d6c36b57cdd5702430e0b54567bf273bd32c1
	sha256sums = SKIP
	sha256sums = 97025772b25c6694db049d3c4be5a72d926299aa1a9b861f490d66750e31c9dd
	sha256sums = SKIP
	sha256sums = bdcebca627f377ffcff5405cd5694efbddb14c89ad7d0ea481b1646a42bfeca3
	sha256sums = SKIP
	sha256sums = 058c3cc029036899fcdfbeebec10f6ca170dc9f0c3314576405072a77340c029
	sha256sums = SKIP
	sha256sums = 1b5abaa2686c6c0e1f394113d0b2e026ff3cb9e11b6a2294c4f3883f1b02c89c
	sha256sums = SKIP
	sha256sums = f0555603222189d8d2ff2d02747c63a3bbeb291fa72ce042c1a6d26399150baf
	sha256sums = SKIP
	sha256sums = 8b3255668594ca3450ac5c041ac52c3c33300873d033cda49529e7fe1d4257e6
	sha256sums = SKIP
	sha256sums = 8667f47185bee07f7c7988ead7161b0d9e41a1a01d5d7afd8f325c607641470c
	sha256sums = SKIP
	sha256sums = 0f446bd4886fc6eac575c7a7e8dcfc84d1186eb79f73e321966bccc214e57271
	sha256sums = 32419b37a32c8387dc0df1a54d9459a046eaf8ba6564df6573c54829b50b850a
	sha256sums = 01adbbd20926ea99c2eba7a8d691dbe12755315fb27e1000d822b6e2691705f9
	sha256sums = 3b4fdc72da4f23c7656b8a2f0a168904b294abcd7dcc2151e59a7aa63581e37a
	sha256sums = 19be8aaa4ea24249ca750ab2a84fdf6ab9a03aee012f3f377d9525d7a6d3e7d9
	sha256sums = 93b81f87a9444d8a1375c8f47cb1caed22359048839ae4eca0db52dd40c24077
	sha256sums = 61cceb570d0d2df34d04f9f3364bc90d036b9d54891281ab7770646c1414d18d
	sha256sums = b88be5ffdd13fd31e38cb84e7248247715858fda28cbd50a05221ae06d1cf2fe
	sha256sums = beda63f2b2dd76aceb8f7538b1fda21821c5cca2fe6d43fd0cf78869d3e209e9
	sha256sums = d3c0622966bae355028b6a30c2f6726c5417e75ab633c131630dd4bc78cd0795
	sha256sums = ddf4d7ae7aa1ec974a4c6f927572823f51e6e3af0e82a6142c37fe2c83be2eb5
	sha256sums = 924e020125fe746d6419d484afbb542226e6072b75202f38c214333e871c6d00
	sha256sums = 46d4270226003ba4777f45a3f45d1a391bbde4dcecd9bf0c24242d3fa828f1a2
	sha256sums = 325069aa129cd7507e52541c3bd23577e99b0208a9d14053ee7d49da37bdcc51
	sha256sums = a47b97820b0bd158d9e00f4abd0195cc5379f1861e359485dafc433604d0a64a
	sha256sums = ba77a47634a0e99080ce3097d6d87b02b4904d80f4a809cac0124d31a2a0e829
	sha256sums = 029b52f44e58bcd7e54913a358ebc4562214051bbd4b833331236b270ef111c6
	sha256sums = 97184a6e90a682ae1726d57994e959d1a56cf066f7e5f23129d395d116b384e3
	sha256sums = 7d76b237eb5c69b5b2bb89160be27ff6975a67d1e8d8028a03b59b632c2c28b9
	sha256sums = 56c713e06b14148f05f22d5620053d115047760e39854ad2cdf0bdead7614ba3
	sha256sums = 4b27ec91267c729862754e7ded7b4c333bb64015294885e4cf79272a09c6b81a
	sha256sums = 88424795aae3d8c6e260183c13fefffa16d335b3c0042d8752eb2b017b9634e2
	sha256sums = 0ddada23a1d060817b06a081d6f3fbb45a86dea9c0632d79f747c9a35a7a26b4
	sha256sums = 63fbf5fb4845521772fdd3d699188f8cf30a99999ed639a66bdb1d236a14e5d4
	sha256sums = c5cbfb64eb7b19d6f1f1c1eb9c3278fcfbed8bfc482f8f36025cbdd3eef642a5
	sha256sums = a94a90b514105550e4e1a0502c1400d470d800fb137df4cf45f9a03fea224804
	sha256sums = 3387f86dc38909d057d5697cde90d6f801a8c8f09b5591de1e751b9172c76931

pkgname = llvm
	pkgdesc = Low Level Virtual Machine
	depends = gcc-libs
	depends = libzstd
	depends = zlib

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

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