ci: add riscv64 manylinux wheels with native RISE runners#234
Open
gounthar wants to merge 1 commit intopython-cffi:mainfrom
Open
ci: add riscv64 manylinux wheels with native RISE runners#234gounthar wants to merge 1 commit intopython-cffi:mainfrom
gounthar wants to merge 1 commit intopython-cffi:mainfrom
Conversation
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>
38 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add riscv64 manylinux wheel builds using native RISE RISC-V runners instead of QEMU emulation.
Based on the excellent work by @justeph in #227. This PR builds on that approach with native runner support for significantly faster builds.
Changes
ubuntu-24.04-riscvnative runner (no QEMU needed)docker/setup-qemu-actionfor riscv64CIBW_MANYLINUX_RISCV64_IMAGEdefaulting tomanylinux_2_39(first manylinux with riscv64)Why native runners over QEMU
QEMU emulation (as in #227) works but is slow. Native RISE runners provide real riscv64 hardware at no cost to the project, with build times comparable to other architectures.
Evidence
Credits
Supersedes #227