python-llvmlite: Update to 0.37.0rc2, add llvm workaround

This commit is contained in:
Biswapriyo Nath
2021-07-19 12:10:27 +05:30
committed by GitHub
parent 257399ba23
commit 345959f2e6

View File

@@ -6,11 +6,11 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=0.37.0rc1
pkgver=0.37.0rc2
pkgrel=1
pkgdesc='Lightweight LLVM python binding for writing JIT compilers (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
url="https://github.com/numba/llvmlite"
license=('BSD')
depends=(
@@ -24,7 +24,7 @@ source=(llvmlite-$pkgver.tar.gz::"https://github.com/numba/llvmlite/archive/v$pk
"multi-defs.patch"
"path_fix.patch"
"llvm-12.0.patch")
sha256sums=('f63f6fc16218f3eeab515d8265bda63f254c0d5595214be14757165810d95602'
sha256sums=('9c0912df026618704264cb6e3457150429193bef6c9385bccd533b083bc0a3da'
'b4610934ac8fd7e614d9ea920856ff6da2fbeb146028a664ada8543b8b33ec56'
'813ecc48f18543f0d36b03c7596a1a6a26be31b9cfa44f1111ac232821844a79'
'ff31146ec66374b77d37528c13178e73bc8e92227b8919ed715963cc81bf5ed9')
@@ -46,6 +46,9 @@ build() {
msg "Python build for ${CARCH}"
export CMAKE_GENERATOR="MSYS Makefiles"
# Workaround from https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/issues/1069
CXXFLAGS+=" -DNDEBUG" \
${MINGW_PREFIX}/bin/python setup.py build
}