Skip to content

ci: add riscv64 manylinux wheels#227

Open
justeph wants to merge 1 commit intopython-cffi:mainfrom
justeph:ci-add-riscv64-wheels
Open

ci: add riscv64 manylinux wheels#227
justeph wants to merge 1 commit intopython-cffi:mainfrom
justeph:ci-add-riscv64-wheels

Conversation

@justeph
Copy link

@justeph justeph commented Feb 5, 2026

Now that cibuildwheel and PyPI support riscv64, we can start building riscv64 wheels.

Integrated in the same way as the s390x platform.

Now that cibuildwheel and PyPI support riscv64, we can start building riscv64 wheels.

Integrated in the same way as the s390x platform.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
@justeph
Copy link
Author

justeph commented Mar 3, 2026

Hi, just checking in on this issue. Are you open to add riscv64 architecture? Is there anything I can help with to move it forward?

@gounthar
Copy link

gounthar commented Mar 19, 2026

+1 for this. I've verified that cffi 2.0.0 builds successfully on native riscv64 hardware (BananaPi F3, SpacemiT K1, rv64gc, GCC 14.2.0).

One suggestion: the current PR runs riscv64 on ubuntu-24.04 via QEMU (same as s390x/ppc64le). Native riscv64 runners are now available through RISE for free; this would make the builds significantly faster. I'll open a follow-up PR building on your work with native runner support.

Thanks @justeph for getting this started!

gounthar added a commit to gounthar/cffi that referenced this pull request Mar 19, 2026
Add riscv64 matrix entries (cp39-cp314t) following the s390x pattern,
with native RISE riscv64 runners instead of QEMU emulation.

Based on the work by @justeph in python-cffi#227, with the addition of:
- Native runner support (ubuntu-24.04-riscv) for faster builds
- Skip QEMU setup for riscv64 (not needed on native hardware)

Verified on native riscv64 hardware (BananaPi F3, SpacemiT K1).
Native RISE runners provided by the RISE project.

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants