diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 28 insertions, 16 deletions
@@ -1,19 +1,25 @@ pkgbase = mingw-w64-llvm pkgdesc = Collection of modular and reusable compiler and toolchain technologies (mingw-w64) - pkgver = 8.0.0 - pkgrel = 2 + pkgver = 9.0.0 + pkgrel = 1 url = http://llvm.org/ arch = any - license = custom:University of Illinois/NCSA Open Source License + license = custom:Apache 2.0 with LLVM Exception makedepends = mingw-w64-cmake makedepends = llvm - makedepends = python2 + makedepends = python depends = mingw-w64-zlib + depends = mingw-w64-z3 + depends = mingw-w64-libxml2 options = !strip options = !buildflags options = staticlibs - source = https://releases.llvm.org/8.0.0/llvm-8.0.0.src.tar.xz - sha256sums = 8872be1b12c61450cacc82b3d153eab02be2546ef34fa3580ed14137bb26224c + source = https://releases.llvm.org/9.0.0/llvm-9.0.0.src.tar.xz + source = https://releases.llvm.org/9.0.0/llvm-9.0.0.src.tar.xz.sig + validpgpkeys = B6C8F98282B944E3B0D5C2530FC3042E345AD05D + validpgpkeys = 474E22316ABF4785A88C6E8EA2C794A986419D8A + sha256sums = d6a0565cf21f22e9b4353b2eb92622e8365000a9e90a16b09b56f8157eabfe84 + sha256sums = SKIP pkgname = mingw-w64-llvm @@ -1,19 +1,26 @@ - pkgname=('mingw-w64-llvm') -pkgver=8.0.0 -pkgrel=2 +pkgver=9.0.0 +pkgrel=1 pkgdesc="Collection of modular and reusable compiler and toolchain technologies (mingw-w64)" arch=('any') url="http://llvm.org/" -license=('custom:University of Illinois/NCSA Open Source License') -depends=('mingw-w64-zlib') -makedepends=('mingw-w64-cmake' 'llvm' 'python2') +license=('custom:Apache 2.0 with LLVM Exception') +depends=('mingw-w64-zlib' 'mingw-w64-z3' 'mingw-w64-libxml2') +makedepends=('mingw-w64-cmake' 'llvm' 'python') options=('!strip' '!buildflags' 'staticlibs') -source=("https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz") -sha256sums=('8872be1b12c61450cacc82b3d153eab02be2546ef34fa3580ed14137bb26224c') +validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org> +validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com> +source=(https://releases.llvm.org/$pkgver/llvm-$pkgver.src.tar.xz{,.sig}) +sha256sums=('d6a0565cf21f22e9b4353b2eb92622e8365000a9e90a16b09b56f8157eabfe84' + 'SKIP') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" +prepare() { + cd "$srcdir/llvm-$pkgver.src/" + sed -i "s|target_link_libraries(benchmark Shlwapi)|target_link_libraries(benchmark shlwapi)|g" utils/benchmark/src/CMakeLists.txt +} + build() { cd "$srcdir/llvm-$pkgver.src/" for _arch in ${_architectures}; do @@ -30,7 +37,6 @@ build() { -DLLVM_TABLEGEN=/usr/bin/llvm-tblgen \ -DLLVM_INFERRED_HOST_TRIPLE=x86_64-pc-linux-gnu \ -DLLVM_BUILD_LLVM_DYLIB=ON \ - -DBUILD_SHARED_LIBS=OFF \ -DHAVE_STEADY_CLOCK=0 \ .. make @@ -43,6 +49,6 @@ package() { cd "${srcdir}/llvm-$pkgver.src/build-${_arch}" make DESTDIR="${pkgdir}" install ${_arch}-strip -g "${pkgdir}"/usr/${_arch}/lib/*.a - #${_arch}-strip --strip-unneeded "${pkgdir}"/usr/${_arch}/bin/*.dll + ${_arch}-strip --strip-unneeded "${pkgdir}"/usr/${_arch}/bin/*.dll done } |