-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does llvmlite support riscv64? #923
Comments
Support for riscv64 is getting there but not quite complete yet (any use of it should be considered experimental at this stage). The status is:
I'm quite keen to push forward on RISC-V support, but it is a just a personal project for me so I've not been able to spend a great deal of time on it. Initially I got things tested / brought up with qemu, but I've since been using a Starfive VisionFive 2. What hardware are you using?
That commit tests assembly code generation for riscv32, it doesn't necessarily imply llvmlite runs on riscv32 (though it may well run as well as on riscv64). I haven't come across a Linux-capable riscv32 system yet (that's not in an FPGA or qemu) - have you seen one? |
hi, sorry for the late reply.
Here, could you give more info/hit? So maybe more people know where to start?
I have a real riscv64 hardware(Unmatched board) by hand to test/build some Debian packages. When we have a plan to push the patch that support RISC-V JIT on llvm-14 to upstream? Since I'm not familiar with the details of this, so my assumption might be wrong. I will cost some time to test patch support RISC-V jit but I am very new to llvm. I want to help here but maybe cost a long time.:(
Thanks again for your work! |
I hope this helps - please let me know if you need further instructions / clarification.
We don't need to do this - the branch I pointed to you is just me backporting fixes that are already in LLVM 15 to LLVM 14. llvmlite will move to LLVM 15 in the future.
I'd like to help support you in doing this - if you have any trouble with it, please reach out to me and I'll try to guide you.
Thanks for your interest! |
Ok, I will try it and thanks for your help here.:) |
Skip MCJIT related tests. Upstream issue about riscv64 support: numba/llvmlite#923
Skip MCJIT related tests. Upstream issue about riscv64 support: numba/llvmlite#923
Feature request
Hi,
On Debian riscv64, I noticed the llvmlite never built due to test failed:
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.
The text was updated successfully, but these errors were encountered: