diff options
author | Eric Molitor <eric@molitor.org> | 2019-01-13 11:09:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-03-22 12:12:49 +0000 |
commit | a84ab695096337553ae79182143730853331e0e5 (patch) | |
tree | 1d9bdd2785fc4ca7b527d157df5801acdec0c4f1 /community/lld/APKBUILD | |
parent | 09ed5f798886f450d1c66f0af50111e54e3c8870 (diff) | |
download | aports-a84ab695096337553ae79182143730853331e0e5.tar.bz2 aports-a84ab695096337553ae79182143730853331e0e5.tar.xz |
community/lld: upgrade to 7.0.1
Diffstat (limited to 'community/lld/APKBUILD')
-rw-r--r-- | community/lld/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/lld/APKBUILD b/community/lld/APKBUILD index 65f32d3cf4..640003d80b 100644 --- a/community/lld/APKBUILD +++ b/community/lld/APKBUILD @@ -1,7 +1,8 @@ +# Contributor: Eric Molitor <eric@molitor.org> # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=lld -pkgver=5.0.2 +pkgver=7.0.1 pkgrel=0 _llvmver=${pkgver%%.*} pkgdesc="The LLVM Linker" @@ -17,7 +18,7 @@ makedepends=" zlib-dev" checkdepends="gtest gtest-dev" subpackages="$pkgname-dev" -source="https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz" +source="https://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.xz" builddir="$srcdir/$pkgname-$pkgver.src" build() { @@ -31,7 +32,6 @@ build() { -DCMAKE_CXX_FLAGS_MINSIZEREL_INIT="$CXXFLAGS -fpermissive" \ -DCMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT="$LDFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DLLVM_INCLUDE_TESTS=ON make @@ -40,7 +40,11 @@ build() { check() { cd "$builddir/build" [ "$CARCH" = "armhf" ] && return 0 - make check-lld + #make check-lld + lit -sv \ + --param lld_site_config=$builddir/build/test/lit.site.cfg \ + --param lld_unit_site_config=$builddir/build/test/Unit/lit.site.cfg \ + $builddir/build/test } package() { @@ -49,4 +53,4 @@ package() { make install DESTDIR="$pkgdir" } -sha512sums="6edafc277a5475a4b44fdf2d77bb8d0a80e8717f74c6db6c0208e0f1492a552f50640503ba8687bcd87a3d677b571dc4f9579b1e5c0bf53059c259ecbcc78c0e lld-5.0.2.src.tar.xz" +sha512sums="e5d3ed280d8ac6014cd6bbe080b11e2c4ebbae81dc14b637e779ec027d818dbae91c6f0de9e94bcecd6bdaa37f12c35141b5d81f0a15251d27932aa9bebd4047 lld-7.0.1.src.tar.xz" |