Open
Description
Feature request
Hi,
On Debian riscv64, I noticed the llvmlite never built due to test failed:
test_add_module (llvmlite.tests.test_binding.TestGlobalConstructors.test_add_module) ... WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch.
ok
test_add_module_lifetime (llvmlite.tests.test_binding.TestGlobalConstructors.test_add_module_lifetime) ... WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch.
ok
test_add_module_lifetime2 (llvmlite.tests.test_binding.TestGlobalConstructors.test_add_module_lifetime2) ... WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch.
ok
test_close (llvmlite.tests.test_binding.TestGlobalConstructors.test_close) ... WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch.
ok
test_emit_assembly (llvmlite.tests.test_binding.TestGlobalConstructors.test_emit_assembly)
Test TargetMachineRef.emit_assembly() ... WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch.
ok
test_emit_object (llvmlite.tests.test_binding.TestGlobalConstructors.test_emit_object)
Test TargetMachineRef.emit_object() ... WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch.
ok
test_global_ctors_dtors (llvmlite.tests.test_binding.TestGlobalConstructors.test_global_ctors_dtors) ... WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch.
LLVM ERROR: Unsupported code model for lowering
Aborted
E: pybuild pybuild:388: test: plugin distutils failed with: exit code=134: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_llvmlite/build; python3.11 -m unittest discover -v
...
From the commit, we can support riscv binding test, but only for riscv32, right? Is this a chance to add support riscv64? If yes, What direction should we go? Ihave real riscv64 hardware, please tell me if I can help here.
Sorry, I am very new to llvmlite so please correct me if I am misundering here.