# Generated by makepkg 6.1.0
# Sun Jun 15 21:13:56 UTC 2025
pkgbase = llvm
	pkgdesc = C language family frontend for LLVM
	pkgver = 20.1.7
	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.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/llvm-20.1.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/llvm-20.1.7.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/clang-20.1.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/clang-20.1.7.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/compiler-rt-20.1.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/compiler-rt-20.1.7.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/lld-20.1.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/lld-20.1.7.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/cmake-20.1.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/cmake-20.1.7.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/libunwind-20.1.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/libunwind-20.1.7.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/runtimes-20.1.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/runtimes-20.1.7.src.tar.xz.sig
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/third-party-20.1.7.src.tar.xz
	source = https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/third-party-20.1.7.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 = 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-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 = 0201-LLD-Cygwin-Implement-dll-search-prefix-143263.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
	source = 0207-LLD-Cygwin-Add-libcygwin-and-libmsys-2.0-to-exclude-.patch
	validpgpkeys = B6C8F98282B944E3B0D5C2530FC3042E345AD05D
	validpgpkeys = 474E22316ABF4785A88C6E8EA2C794A986419D8A
	validpgpkeys = D574BD5D1D0E98895E3BF90044F2485E45D59042
	sha256sums = 10b62d003f16afbd1a5ee0aa6397704c13d9a12a2562103998a8c1eff4a0f1ea
	sha256sums = SKIP
	sha256sums = cb74965a2481008ae405419357a55fda2df6fa3aee262a0a9293a558532a29ae
	sha256sums = SKIP
	sha256sums = 326d6deb8eaf60bc4a66a1cbab20409f328bdddcafe77207c6bcd88d768076e3
	sha256sums = SKIP
	sha256sums = 9cb94dac7db0e1f2b664469e1574c0b350bec3eacd0cbc524481a6f65fc0f185
	sha256sums = SKIP
	sha256sums = afdab526c9b337a4eacbb401685beb98a18fb576037ecfaa93171d4c644fe791
	sha256sums = SKIP
	sha256sums = 46081293b2f857caca68a266cf11fad8366315c470a9a6766868ed6c369bac0c
	sha256sums = SKIP
	sha256sums = 9357bba8ec103cfb48a271420251a057636aae346b9bad880801e11d19dcbfc6
	sha256sums = SKIP
	sha256sums = 592019ad4d17ffa6e0162c7584474b2ae8883a61bbfade5f15382ed26b7ce52a
	sha256sums = SKIP
	sha256sums = a50b341c89dba8a263d7b5d375dd49971665cc3199cc47f875d0d486cb48346b
	sha256sums = 8c9285bb1ba3ba656964b661f0a6ed41c9cca4ad4a867f2811e8121476801b27
	sha256sums = 255fed9b059c2457cae6954e646937d179958e3c830352354278a4a5881fd429
	sha256sums = ad55afac07e9da3489c12cd8fa56ae91d5c14e6832a5d88741efa946e6a3da4f
	sha256sums = 700ba03dc477e9519ef183209251232ae2b2a1afd48dc0500b4d2e0f466b0b4a
	sha256sums = 0dfd4cf437e3caa146b733aae46e20e1d5809268722eb796b9627ec0bcfcac57
	sha256sums = 822ccbe30d99a5ba2ae2fbf14e0de58239cae485c8086950e7913695d301009f
	sha256sums = 2eac65eb56613152a42a33e799a8e1acd696e9a167d5d5e730d6b53893573736
	sha256sums = ccda5ddd2090dc715f7e9653639a2ff0b2791515224b245d3e22d2b2eeb488d1
	sha256sums = e3ad58755439b8efa05fa12058756b4a34ecf8ded35a6d849f9a5eae22ae26ed
	sha256sums = 54d963085035ea418148b66d54707ff46485fdf3fa46310ebfd5952460638f00
	sha256sums = 816044654e1b1e99985325e0cbe42f51b956d34cae25e34e5b51e206b1c32e00
	sha256sums = 9844b102656f6b3527f3c5aa9a74245063cdd7b7839d326f10cb7c1c5944d3e6
	sha256sums = 6879ebd71bb8b6dbb1243f7fa1cfd3f96b93e5894e656f95b3ad1b41ba8fa8d5
	sha256sums = bc1208f91b2fada48cfacb1cf65f884c734a5753cac4bae955f190605fe0ed6d
	sha256sums = 0905a5f3ce123ea6b15d0728e6249540ffb9e6352adf674007229ef11530f230
	sha256sums = 078699dca61b04ee89c1be802ae57897379173ceafb3930a393839d492bb9347
	sha256sums = 17a94e951f7df8c59f84aa8a40d1d38d2020829a984a5e4188103db0a019f8e4
	sha256sums = 458b93fb20abe5cf84ecda447ca7a05c0ab34fd66fa9cf5d9eefc310295c4e25
	sha256sums = 24828fed935c9970318236397112a83d42c9e3dc23f6f28b75808edafb7dd17e
	sha256sums = f3b4ffae990e7e5636ce7fab40f0739b2717fe88a0e5d8fea47692f98c8f7d77
	sha256sums = 010d246460b0d62a5ec8e977dd5428596c7a99c32d8a23c0185d400b7056fd69
	sha256sums = f2f4f9ed2856bf5609dae740decf27de39d6f3d29ed5b386b43fcf41f8fadf23
	sha256sums = 616cbdb3a8b386c91b8e725334d4a5ce60ffe611cc59a65085e19a61be82b3b1
	sha256sums = 5a215c2eb7d3cbf36da880ed5d7a1bb46cf7e872e5265a7d0afa53bb5cb0c94c
	sha256sums = 2e2a624eedb546a2fcbc43c013515ebc5f821719a5cab43c5bd0489d1a5f0991
	sha256sums = 6a22c3255245a415e70a5e84aae9f20197515ced9e7f80df8713e102c1906f7f
	sha256sums = 524efb3e032e6f7c13e706b04d079b7a785c8b5da60be925d05b9c02e659e677
	sha256sums = b9589b1d3d28425d73b64ccc8e91ca1e7915d6ad4bec32d395b803236a70d1e4
	sha256sums = 61169398fe0aafdb75219206edf0490af1a1dfac653eed1d54f504bbb637adfc
	sha256sums = 37780c65f2ea088081319eebfaa820451ce55475d6fad0badcc95a2bb20840af
	sha256sums = 94f0a65835d156392e4db4fd4bbd4e6439294ae5e024e48a7e105f17512eb98b
	sha256sums = e14ba4b45df74122a98c6ff2ffe17c789c3e14456ac695c3bfa58c988f65d283
	sha256sums = 36e766b91ecd627f720dae352b689c2f32dde1abfd46dae0da7c890b5b279a29
	sha256sums = d4ef3823aacc37bdd518de214192edf94fd5ce2e1422084422a86aa0880266da
	sha256sums = 71161ed122803e9f6a7662631b4b2caa0a3528385d89cc8e5f96c49b2fdbc12f
	sha256sums = 745ea7c631977b939e06e28fdc06dc67b4e41e113c2be432d74e6cf4dc581d0d

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.7
	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.7
	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.7
