* update clang to 18.1.8-5

This commit is contained in:
Alexander Baldeck 2024-12-06 18:48:30 +01:00
parent 7a7f0a58a0
commit b4998bc7c0
2 changed files with 2 additions and 10 deletions

View File

@ -1,7 +1,7 @@
pkgbase = clang
pkgdesc = C language family frontend for LLVM
pkgver = 18.1.8
pkgrel = 4
pkgrel = 5
url = https://clang.llvm.org/
arch = x86_64
arch = powerpc64le

View File

@ -4,7 +4,7 @@
pkgname=clang
pkgver=18.1.8
pkgrel=4
pkgrel=5
pkgdesc="C language family frontend for LLVM"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://clang.llvm.org/"
@ -81,14 +81,6 @@ prepare() {
patch -Np2 -i ../clang-disable-float128-diagnostics-for-device-compilation.patch
patch -Np2 -i ../support-__GCC_-CON-DE-STRUCTIVE_SIZE.patch
# https://github.com/clangd/clangd/issues/1559
sed 's|clang-tools-extra|clang/tools/extra|' \
clangd-handle-missing-ending-brace.patch | patch -Np2
# Attempt to convert script to Python 3
2to3 -wn --no-diffs \
tools/extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
# powerpc64 uses ELFv2
patch -Np0 -i ../clang-ppc64-elfv2.patch
patch -Np2 -i ../clang-ppc64-dynamic-linker-path.patch