Skip to content

Commit

Permalink
addpatch: python-llvmlite
Browse files Browse the repository at this point in the history
Skip MCJIT related tests. Upstream issue about riscv64 support:
numba/llvmlite#923
  • Loading branch information
felixonmars committed Jun 23, 2023
1 parent c4ab8ba commit c1baa6f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions python-llvmlite/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git PKGBUILD PKGBUILD
index 50c73a3..7fbf334 100644
--- PKGBUILD
+++ PKGBUILD
@@ -24,7 +24,10 @@ build() {

check() {
cd "${_name}-$pkgver"
- pytest -vv $_name/tests
+ # Skip MCJIT related failures, as it's known to be broken on RISC-V
+ pytest -vv $_name/tests --deselect llvmlite/tests/test_binding.py::TestMCJit \
+ --deselect llvmlite/tests/test_binding.py::TestGlobalConstructors \
+ --deselect llvmlite/tests/test_binding.py::TestObjectFile::test_add_object_file
}

package() {

0 comments on commit c1baa6f

Please sign in to comment.