-
Notifications
You must be signed in to change notification settings - Fork 144
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
RISC-V support #408
Comments
This diff fixes it for musllinux, I've not worked on getting manylinux working.
|
This would first need a manylinux image, so I suggest opening an issue there. That will need some sort of public CI system which has RISC-V runners. I don't think Travis or GH Actions supports RISC-V at the moment, but I could be wrong. These would be the minimum requirements to add support for the platform. |
RISC-V support can be enabled using qemu-user-static based actions for runners on github actions eg. using this: https://github.com/docker/setup-qemu-action AFAIK this is the same way as running armv7 on actions. |
Also I think that manylinux image is totally another problem, auditwheel can support repairing wheels but without official support from manylinux images side. When they will decide to include RISC-V compatible image for manylinux (Alpine stable still doesn't support riscv, so musllinux is no way atm anyway) - the path will be clear as auditwheel would support it already. |
Anyway I created the issue: pypa/manylinux#1425 |
We use the manylinux images in the test suite, and without a riscv64 image we can't test if auditwheel is working correctly on this platform. Thanks for filing the issue in manylinux. |
I think this could be added as an untested ALPHA feature. Anyway, we'll always be in a chicken & egg situation (manylinux requires auditwheel, we can't have an image without support in auditwheel). As far as I could see:
I updated mayeut/pep600_compliance@4b6a18a and added some manylinux policies in there. I'm open to a PR adding those policies & the bits missing in auditwheel as long as support is marked experimental if @lkollar agrees. @JuniorJPDJ, As it involves multiple python packaging projects, I advise you to create a discussion at https://discuss.python.org/c/packaging/14 |
I was talking with alpine maintainers about riscv support and they said as long as they do not have server-grade riscv boards for builders it's no go for stable. Edge/rolling supports RISC-V for a while already. |
https://wiki.alpinelinux.org/wiki/Riscv64
|
When running auditwheel on linux_riscv64 wheel it crashes.
It looks like policies for musllinux and manylinux are missing.
The text was updated successfully, but these errors were encountered: