# Generated by makepkg 6.1.0
# Thu Aug 14 00:30:31 UTC 2025
pkgbase = llvm
	pkgdesc = C language family frontend for LLVM
	pkgver = 20.1.8
	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 = clang-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/llvm-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/llvm-20.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/clang-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/clang-20.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/compiler-rt-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/compiler-rt-20.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/lld-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/lld-20.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/cmake-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/cmake-20.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/libunwind-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/libunwind-20.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/runtimes-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/runtimes-20.1.8.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/third-party-20.1.8.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/third-party-20.1.8.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 = 0008-LLVM-Cygwin-add-workaround-for-blocking-connect-acce.patch
	source = 0009-Support-Cygwin-Fix-handling-of-Process-symbol-lookup.patch
	source = 0010-Cygwin-Define-LLVM_ABI-for-Cygwin-143222.patch
	source = 0011-Cygwin-CYGWIN-is-not-WIN32-in-current-CMake-143130.patch
	source = 0012-Cygwin-Don-t-use-version-script-for-Cygwin-target-14.patch
	source = 0013-LLVM-Tests-remove-exeext-from-lli-child-target-param.patch
	source = 0014-LLVM-Support-Cygwin-Add-threading-support-for-Cygwin.patch
	source = 0015-LLVM-Cygwin-Enable-dynamic-linking-of-libLLVM-146440.patch
	source = 0016-LLVM-Cygwin-Enable-conditions-that-are-shared-with-M.patch
	source = 0017-llvm-objcopy-COFF-Ignore-associative-sections-in-exe.patch
	source = 0018-lli-Fix-crash-with-no-process-syms-on-MinGW-151386.patch
	source = 0019-llvm-Enable-building-Analysis-plugins-on-Cygwin-1513.patch
	source = 0020-LLVM-adjust-lit.cfg.py-for-Cygwin-151416.patch
	source = 0021-LLVM-Support-Fix-tests-on-Cygwin-151417.patch
	source = 0022-LLVM-lit-add-system-cygwin-feature-152780.patch
	source = 0023-hack-tablegentest.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-in-c-index-tes.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 = 0116-Clang-Cygwin-va_list-must-be-treated-like-normal-Win.patch
	source = 0117-Clang-Cygwin-wint_t-is-unsigned-int-143117.patch
	source = 0118-scan-build-Windows-Fix-driver-name-transformation-in.patch
	source = 0119-libclang-Add-missing-dllexport-annotation-147108.patch
	source = 0120-libclang-Cygwin-Use-__declspec-dllexport-for-libclan.patch
	source = 0121-libclang-Cygwin-Use-LLVM_EXPORTED_SYMBOL_FILE-.def-f.patch
	source = 0122-Tests-Add-system-cygwin-feature-and-use-it.-152611.patch
	source = 0201-LLD-Cygwin-Implement-dll-search-prefix-143263.patch
	source = 0202-LLD-COFF-Ensure-.bss-is-merged-at-the-end-of-a-secti.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-CMake-fix-testing-standalone-build-without-insta.patch
	source = 0206-LLD-Cygwin-Add-libcygwin-and-libmsys-2.0-to-exclude-.patch
	validpgpkeys = B6C8F98282B944E3B0D5C2530FC3042E345AD05D
	validpgpkeys = 474E22316ABF4785A88C6E8EA2C794A986419D8A
	validpgpkeys = D574BD5D1D0E98895E3BF90044F2485E45D59042
	sha256sums = e1363888216b455184dbb8a74a347bf5612f56a3f982369e1cba6c7e0726cde1
	sha256sums = SKIP
	sha256sums = b7a1b7b0af7b9c7596af6bd46e36d11321926eaa66a7a7dc957ab0a1375ee4b0
	sha256sums = SKIP
	sha256sums = 15277402f6fd63397c0917a5c7171cda82d16d226094b828c1ed0f58f73b9c69
	sha256sums = SKIP
	sha256sums = 8281462d62cae67dfe5fdbb4da0d82bc62e0a86d4d4f758b0b601d44f09fd987
	sha256sums = SKIP
	sha256sums = 3319203cfd1172bbac50f06fa68e318af84dcb5d65353310c0586354069d6634
	sha256sums = SKIP
	sha256sums = 0bced9d701e300f8fe6599523367e214c1f928ac559afceece58f47018e9c4a7
	sha256sums = SKIP
	sha256sums = 86b375ab217619d018f6875b7c71106ffab5ab21c425f414a11468c2a8262819
	sha256sums = SKIP
	sha256sums = 9a4e452a8163732d417db067a89190fcda823cb3aa33199e834ac7c028923f4b
	sha256sums = SKIP
	sha256sums = b59cbff2a7c102a018a8cc773d67ac6694837bd2a8efbef2f362ef7471f7cce5
	sha256sums = 17c42bd648aca828a8710ca03e47c617cc93f1827d56f4955bb3d071feb32709
	sha256sums = 40c0aa890514e68cdefc321ff6a06b65e469473160c31624331477704095e418
	sha256sums = f1b2a62c40b27270f396a72ee9e80c06d17f8f36942250d68e5b002dcf438260
	sha256sums = 7aa4f78e66d7492762c4c578989fe625edc620366f4fc608f5ea432117dc1f82
	sha256sums = 5c9776d8aaae83607dddca8d341ea94d434f720a8ea35f15450c13812f1c045f
	sha256sums = 9e07a313f9a30278f566bce045309ba2a5dc070247ba969eb3ff162dc3958648
	sha256sums = 9a37d8954bacd38dbb971a9c7814955605b9e5d549d0190c641c90878f1c0349
	sha256sums = 7edd21d8ad3f6a5961de07bd69ab890db2d0f68c0b8c1c033a2f6a4393211ce9
	sha256sums = 2b28cb44accbcdc2baee97ff965f747ee9403414ba859e4b465aa75f06bdceec
	sha256sums = 677ba2a562716183a69b868d7f75b64e9109e6fc8d99dae196964f5573e40219
	sha256sums = 1070f3a7ce03c472c9e2155464c9907f8ba27fa15df707396e59c9085b49c0ab
	sha256sums = 9194df20a37702827037646fa93b4169554fb050a4b80efd5b942407ac44b55a
	sha256sums = 84a771685a0a3220218de157069047e1fcb8d921b14d9ecc75a0cbd912cafff7
	sha256sums = 45e79dfe7dcab1202274021040f3d7637e992b56a5a895d0ccbaff60626147ad
	sha256sums = b2c5441adcd95a8b25c83aa454bf0f06af117612fe5525aede8d2b5d7eff2470
	sha256sums = af5cea6aab4c86d3c137ca21d28c5eeaec918d68a045530ab8f4b45e8506290f
	sha256sums = e62dddc3e533cd2729f4ed8f51b898eb4214f2b9db15062f818c063fab85aee0
	sha256sums = 499eba68cbb2a3a50a1e9a1ba211651bd5db7cab48b5154ca3cb37a44c2b2a0c
	sha256sums = d382b9f7012df9702e9c52c04d63620a0febb607b8656bef06f8bb98e59e73b9
	sha256sums = a7a17329a247e4bdc4d9b27f860c757ae153a754b0e0ce018a8a72ff06a803a8
	sha256sums = 5431019c3a6fae561b675c60545d80278d914b78e12f9ae5c59ab0ce7dc6508d
	sha256sums = 7cb70e14a5c6e87ef28427356ad3d366d58c367b2039d2a3bf92fa7dee33d79d
	sha256sums = c1e29c6aa62c075975b76c38fe0d60fe765f2527611f4336d60152afd1d0be98
	sha256sums = 13e4b046406ffde1af3567e204a38fd7955d09ee4c493b2f3ec6bb48b0112dcd
	sha256sums = 0db6ad5d5709f8f9031f57a9d33fa7c92ab95461c82e7b0eff72eec026f5169b
	sha256sums = c12a74c2d03f9ff5f8b98e546e2a3be99f74ff6d7ee64e0a95eefb20c8b4b3b9
	sha256sums = f0ddc7573db6d57aab0fa3cac787e2f39d061bfe38b01e1ec30d1c691142b38f
	sha256sums = cc4d53a46d80a0b5e7b193b888b3da6f87e523156e977ca08fdad17b466c288e
	sha256sums = a666029b966bb3ec4035d60743c78df56f1898bbd64126ac7e191a1d35976420
	sha256sums = 6b65a05a9642888009080fb0295934de7ead96366cd76a9824bc9a941318718a
	sha256sums = 771d26add61c8ac4e4f501d4852346e3e6807e1781cd33955f10816a5b4244c1
	sha256sums = c625e5a8c4803c169f3de0bf2ce666a2e67f70a2e126110b365562f58d82d9f7
	sha256sums = ba70c891d3653873a64d5eff93f3958f2dd09f7fa43560fdf4b3e18c38d47e70
	sha256sums = a9c6a0dda178d8a0e5e29c68eba177c8055242159ab8dee98fca6a78546825f1
	sha256sums = b2e44bcb7014f1384bfd12e55b138e53efdf7aaafe35bb912f60a30d92a7e1cb
	sha256sums = 7c3d364c3bd23097c44dd5eb3583dcaf6b8e7f6790411a61da149aad74d3e94b
	sha256sums = 019d1be80860be7f1d46a9da86e28eec926b7df21da8181a3812416e08f8c59e
	sha256sums = 57dd8f7e859c9baf47c7ec1f92a081cdfb5304b2edc3828b01dfcc59e29ad6ac
	sha256sums = e7d764fad2d93fc76900365ae3baa659563ac5c4f89bb2fe4bdc63fdb453d0f9
	sha256sums = 497ca7968b639cead910b0b383df099f5d5539531d6a6ff0f8ecd71d7ff6cd4c
	sha256sums = 103c2907fe19dc0bf1909268cee356a183ce1c9bd5b1d38a9e9de92475530b6f
	sha256sums = 2956145e72166ad997261d38ecca376e4fa3485ef4eb6a2eb83db9f77cce1d24
	sha256sums = e926774591c7806d3b58cf541c88c526ec239b92f5c42fe2e02cab4b270e4cd6
	sha256sums = 8d4172d88163efa7b9902b8a01e9f052bbb04374cd8b36aba3382bb82193af8f
	sha256sums = d232026664efe2c1f076909e7cb77f35d530af4613c3212cde1801ca20c54b09
	sha256sums = c383fa5f2d8824992091ea203d8236494fa5d76f2701af2c4df5dd30a49e62fa
	sha256sums = f6fd632ff804176fc1c02122a4f4a522d2c82c024db7b66bc3838b15466b5b69
	sha256sums = 1f5e5fb086d7cd043e2a9d6f3965c2a8520393b5fcc4d2a354d89d6e2fcabaf1
	sha256sums = 517afbd61320b240636b425c0acca67ab35b7ddaa563cc2bceeb0f909de906d3
	sha256sums = d7903409e1611f9bd00987ebdd9e81dd0cc6a2d44f87241d6e0e145f1dc9f682

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.8
	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.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=20.1.8
