* update lld to 18.1.8-1
This commit is contained in:
parent
cdca43ba8c
commit
1f110e132d
27
lld/PKGBUILD
27
lld/PKGBUILD
@ -1,14 +1,14 @@
|
|||||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||||
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
|
# Maintainer: Evangelos Foutras <foutrelis@archlinux.org>
|
||||||
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
|
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
|
||||||
|
|
||||||
pkgname=lld
|
pkgname=lld
|
||||||
pkgver=17.0.6
|
pkgver=18.1.8
|
||||||
pkgrel=1.1
|
pkgrel=1
|
||||||
pkgdesc="Linker from the LLVM project"
|
pkgdesc="Linker from the LLVM project"
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url="https://lld.llvm.org/"
|
url="https://lld.llvm.org/"
|
||||||
license=('custom:Apache 2.0 with LLVM Exception')
|
license=('Apache-2.0 WITH LLVM-exception')
|
||||||
depends=('llvm-libs' 'gcc-libs' 'zlib' 'zstd')
|
depends=('llvm-libs' 'gcc-libs' 'zlib' 'zstd')
|
||||||
makedepends=('llvm' 'cmake' 'ninja' 'python-sphinx')
|
makedepends=('llvm' 'cmake' 'ninja' 'python-sphinx')
|
||||||
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
|
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
|
||||||
@ -16,20 +16,17 @@ source=($_source_base/lld-$pkgver.src.tar.xz{,.sig}
|
|||||||
$_source_base/llvm-$pkgver.src.tar.xz{,.sig}
|
$_source_base/llvm-$pkgver.src.tar.xz{,.sig}
|
||||||
$_source_base/libunwind-$pkgver.src.tar.xz{,.sig}
|
$_source_base/libunwind-$pkgver.src.tar.xz{,.sig}
|
||||||
$_source_base/cmake-$pkgver.src.tar.xz{,.sig}
|
$_source_base/cmake-$pkgver.src.tar.xz{,.sig}
|
||||||
$pkgname-internalize-enum.patch::https://github.com/llvmbot/llvm-project/commit/939ee549a2c4.patch
|
|
||||||
llvm-ppc64-elfv2.patch)
|
llvm-ppc64-elfv2.patch)
|
||||||
sha256sums=('4ac13125616dc44905b85820aa403d27ec1226329b7f674daeb5f5584c6f0b22'
|
sha256sums=('800e6805fb613eb8428f7a199f6d06c4c19f78f2db69157a129bb04fc1c99769'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'b638167da139126ca11917b6880207cc6e8f9d1cbb1a48d87d017f697ef78188'
|
'f68cf90f369bc7d0158ba70d860b0cb34dbc163d6ff0ebc6cfa5e515b9b2e28d'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'9e7535a353aa862730b4ba38df42e06f6856b40c4cc51b57f27b5046dc21d70d'
|
'c31577d16978b0da0e472ef751f74893a5b459a7ea4a383b75f7ab93cf1e6877'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'807f069c54dc20cb47b21c1f6acafdd9c649f3ae015609040d6182cab01140f4'
|
'59badef592dd34893cd319d42b323aaa990b452d05c7180ff20f23ab1b41e837'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'76f0625c86638d0fa06b54f1b151a47d8c71d72466da49557d288e33de89c288'
|
|
||||||
'8c4e8db0b80b1a86f8cff9aa678b70458503bc8926ecc41e0df953ea14ab3559')
|
'8c4e8db0b80b1a86f8cff9aa678b70458503bc8926ecc41e0df953ea14ab3559')
|
||||||
validpgpkeys=('474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstellar@redhat.com>
|
validpgpkeys=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
|
||||||
'D574BD5D1D0E98895E3BF90044F2485E45D59042') # Tobias Hieta <tobias@hieta.se>
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# https://bugs.llvm.org/show_bug.cgi?id=49228
|
# https://bugs.llvm.org/show_bug.cgi?id=49228
|
||||||
@ -37,12 +34,10 @@ prepare() {
|
|||||||
|
|
||||||
mv cmake{-$pkgver.src,}
|
mv cmake{-$pkgver.src,}
|
||||||
cd lld-$pkgver.src
|
cd lld-$pkgver.src
|
||||||
mkdir build
|
|
||||||
|
|
||||||
# https://github.com/llvm/llvm-project/issues/83529
|
|
||||||
patch -Np2 -i ../$pkgname-internalize-enum.patch
|
|
||||||
|
|
||||||
patch -Np2 -d "$srcdir/llvm-$pkgver.src" -i ../llvm-ppc64-elfv2.patch
|
patch -Np2 -d "$srcdir/llvm-$pkgver.src" -i ../llvm-ppc64-elfv2.patch
|
||||||
|
|
||||||
|
mkdir build
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user