diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 12 insertions, 13 deletions
@@ -1,12 +1,12 @@ pkgbase = mingw-w64-llvm pkgdesc = Collection of modular and reusable compiler and toolchain technologies (mingw-w64) - pkgver = 9.0.1 + pkgver = 10.0.0 pkgrel = 1 url = http://llvm.org/ arch = any license = custom:Apache 2.0 with LLVM Exception makedepends = mingw-w64-cmake - makedepends = llvm + makedepends = llvm>=10 makedepends = python depends = mingw-w64-zlib depends = mingw-w64-z3 @@ -14,11 +14,11 @@ pkgbase = mingw-w64-llvm options = !strip options = !buildflags options = staticlibs - source = https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/llvm-9.0.1.src.tar.xz - source = https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/llvm-9.0.1.src.tar.xz.sig + source = https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/llvm-10.0.0.src.tar.xz + source = https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/llvm-10.0.0.src.tar.xz.sig validpgpkeys = B6C8F98282B944E3B0D5C2530FC3042E345AD05D validpgpkeys = 474E22316ABF4785A88C6E8EA2C794A986419D8A - sha256sums = 00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a + sha256sums = df83a44b3a9a71029049ec101fb0077ecbbdf5fe41e395215025779099a98fdf sha256sums = SKIP pkgname = mingw-w64-llvm @@ -1,28 +1,26 @@ pkgname=('mingw-w64-llvm') -pkgver=9.0.1 +pkgver=10.0.0 pkgrel=1 pkgdesc="Collection of modular and reusable compiler and toolchain technologies (mingw-w64)" arch=('any') url="http://llvm.org/" license=('custom:Apache 2.0 with LLVM Exception') depends=('mingw-w64-zlib' 'mingw-w64-z3' 'mingw-w64-libxml2') -makedepends=('mingw-w64-cmake' 'llvm' 'python') +makedepends=('mingw-w64-cmake' "llvm>=${pkgver%%.*}" 'python') options=('!strip' '!buildflags' 'staticlibs') validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org> validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com> -_source_base=https://releases.llvm.org/$pkgver -if [[ ${pkgver##*.} != 0 ]]; then - _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver -fi +_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig}) -sha256sums=('00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a' +sha256sums=('df83a44b3a9a71029049ec101fb0077ecbbdf5fe41e395215025779099a98fdf' '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 + # libLLVMTableGenGlobalISel.a(GIMatchTree.cpp.obj):GIMatchTree.cpp:(.text+0x8623): undefined reference to `llvm::PrintError(llvm::Twine const&)' + sed -i "s|Support|TableGen|g" utils/TableGen/GlobalISel/CMakeLists.txt } build() { @@ -30,6 +28,7 @@ build() { for _arch in ${_architectures}; do mkdir -p build-${_arch} && pushd build-${_arch} ${_arch}-cmake \ + -DCMAKE_BUILD_TYPE=Release \ -DLLVM_INCLUDE_DOCS=OFF \ -DLLVM_INCLUDE_TOOLS=OFF \ -DLLVM_INCLUDE_EXAMPLES=OFF \ |