# Generated by makepkg 6.1.0
# Sun Jun  8 22:30:54 UTC 2025
pkgbase = llvm
	pkgdesc = C language family frontend for LLVM
	pkgver = 20.1.6
	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.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/llvm-20.1.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/llvm-20.1.6.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/clang-20.1.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/clang-20.1.6.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/compiler-rt-20.1.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/compiler-rt-20.1.6.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/lld-20.1.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/lld-20.1.6.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/cmake-20.1.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/cmake-20.1.6.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/libunwind-20.1.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/libunwind-20.1.6.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/runtimes-20.1.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/runtimes-20.1.6.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/third-party-20.1.6.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.6/third-party-20.1.6.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 = 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 = 0116-Cygwin-va_list-must-be-treated-like-normal-Windows.patch
	source = 0117-Cygwin-wint_t-is-unsigned-int.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 = f09e304ca98bb809f492ec34f94f587361b4b0d06ed783fb3a41e7fb218e47a1
	sha256sums = SKIP
	sha256sums = 49a16d6b6878a6bdd9ead2d31ffb94c792675607471afa40096fbd48b3cbab66
	sha256sums = SKIP
	sha256sums = 34ff389ce2c34ac1fe8badcf842265295daa91fd1149d69a7ebaf131edf01e4d
	sha256sums = SKIP
	sha256sums = 280239aa9d9b94df484022cd7c28e5601acea5d60d06bc99d6b7de5b4dc516fe
	sha256sums = SKIP
	sha256sums = b4b3efa5d5b01b3f211f1ba326bb6f0c318331f828202d332c95b7f30fca5f8c
	sha256sums = SKIP
	sha256sums = bdf90d0428c2cb7b763677c0932509b6dca9f210183e9e73c129ab32d7b658ef
	sha256sums = SKIP
	sha256sums = fde825adf348b4cb3b778d8d0409a1ecab2ac0d5ae27031a4530756e909db2d8
	sha256sums = SKIP
	sha256sums = 33530189d31b2396b76a7ebac8f938747b3619154cc37015cef9dea29292f7e2
	sha256sums = SKIP
	sha256sums = c69263b63ffc72c477ef1ecefa07ac8c1aa3e6ffa566df9ce04dc8516e97d8d3
	sha256sums = 268f6ae784614589c424fb54283e521fad88a92ef5327b7d4cfe3b3963d52d31
	sha256sums = 83199ac8025b2b1df48c1dbbeba2e5e444d2f6affabf00faf3b4fa7071fd658a
	sha256sums = 1188bbf3596f9d61681b841dfe48c94e629037e3af538aeb297d472b1981175f
	sha256sums = 12f5ff853e858a61b356fb7b8e6e16dda181abcf5ceba03a6df758f680b396f1
	sha256sums = 301d5bf2abaaa333aa7248469f14ab1f2995c822ba6f18de75a922667308def0
	sha256sums = 019bc12062950db80299b6022b73496dbcd358d55d0bb59ce7f52c45da5a4bdc
	sha256sums = 6c739a086b070ca17c907199b03084393b31bef8e166c6c05ec0af2a785b6c3c
	sha256sums = f44242c25a382f47b0a7e5efc68a300bb169c868fb6a36b2ad0a3590042d4e5a
	sha256sums = 85d6a8dcde9f8bd40f0f4e47cef584c53d130105a0e475b167a99e6f098082c9
	sha256sums = 3060198177aafc4994694b5897b736e4690f2bd722e1650272d88c574a5b394d
	sha256sums = c78a73153781408238da59e006b5da0a033d42bc6930a6730b79a793d0ac6ef6
	sha256sums = f0a47588e84fb84c919bb059349929653d2c938219165fb31b054a474f5fb7eb
	sha256sums = 653c6b213d5397da74a2be9fbe3401558248422375067e4c32e5cd37b591b2d2
	sha256sums = bc6bee32789ea619196617a81d7e8cf7ed413f8416d79263c09db38564a4d1fc
	sha256sums = 336c8cb9cbb9c5674dd67fa62f695dbf40b629b91b71cc2eecfff5f384e3da61
	sha256sums = 9e67538a4f42aa1a9c81874d4dd2fa7f9b710bc56fc02bb400f5ffed15e10572
	sha256sums = ba77a47634a0e99080ce3097d6d87b02b4904d80f4a809cac0124d31a2a0e829
	sha256sums = 53f1e7af7855e92053b2ccba263912918dd5980ed03b05c61148f5f9b20f8835
	sha256sums = 57e270f388e94817ae0ce64fada93d9e1ab1b0918008e8719b80cd032a860e16
	sha256sums = 61aa7263e3b50c85b87560ca9ef141d71660b4ebb4fc1b11f2330105d5361af0
	sha256sums = 5945b60d9050f8aa0cab0772ea1a9c7618a58a9ebb3cae7a65df318f2ada870d
	sha256sums = fcb909c94af1483424e510c50f84d7aad5631eef5de048617437db5cff3836c1
	sha256sums = 94a8a2db43b2808a39b440d49ebb0d07dc84137977d35f86e9c616758b9adc13
	sha256sums = d79df031d31b47a952300850289a77b8bbf187f802ac64534a0eb1197813c989
	sha256sums = 6f87c81cee08d6d9a6c4dba75f0cd636f2e30283ca1f6e5b7ae737e741f9d85a
	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.6
	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.6
	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.6
