From c1baa6fc78a52522d4dce6f8e46b02d2e4658224 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Fri, 23 Jun 2023 10:09:29 +0300 Subject: [PATCH] addpatch: python-llvmlite Skip MCJIT related tests. Upstream issue about riscv64 support: https://github.com/numba/llvmlite/issues/923 --- python-llvmlite/riscv64.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 python-llvmlite/riscv64.patch diff --git a/python-llvmlite/riscv64.patch b/python-llvmlite/riscv64.patch new file mode 100644 index 000000000..69c268fab --- /dev/null +++ b/python-llvmlite/riscv64.patch @@ -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() {