Skip to content

Commit

Permalink
* update lld to 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kth5 committed Apr 25, 2019
1 parent c22e215 commit f4485f5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions lld/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>

pkgname=lld
pkgver=7.0.1
pkgver=8.0.0
pkgrel=1
pkgdesc="Linker from the LLVM project"
arch=(x86_64 powerpc64le)
Expand All @@ -13,9 +13,9 @@ depends=('llvm-libs')
makedepends=('llvm' 'cmake' 'ninja' 'python-sphinx')
source=(https://releases.llvm.org/$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}
https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz{,.sig})
sha256sums=('8869aab2dd2d8e00d69943352d3166d159d7eae2615f66a684f4a0999fc74031'
sha256sums=('9caec8ec922e32ffa130f0fb08e4c5a242d7e68ce757631e425e9eba2e1a6e37'
'SKIP'
'a38dfc4db47102ec79dcc2aa61e93722c5f6f06f0a961073bd84b78fb949419b'
'8872be1b12c61450cacc82b3d153eab02be2546ef34fa3580ed14137bb26224c'
'SKIP')
validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
Expand All @@ -40,7 +40,13 @@ build() {
-DLLVM_ENABLE_SPHINX=ON \
-DLLVM_EXTERNAL_LIT=/usr/bin/lit \
-DLLVM_MAIN_SRC_DIR="$srcdir/llvm-$pkgver.src"
ninja

RAM_TOTAL=$(free --giga | grep Mem | awk '{print $2}')
if [ ${RAM_TOTAL} -lt 16 ]; then
warning "Limiting to 2 parallel job due to RAM constrains"
NINJA_ARGS="-j2"
fi
ninja ${NINJA_ARGS}
}

check() {
Expand Down

0 comments on commit f4485f5

Please sign in to comment.