ci: add riscv64 to wheel build matrix#137
Conversation
|
Native build verified on riscv64 hardware (BananaPi F3, SpacemiT K1, rv64gc, GCC 14.2.0): SUCCESS. |
|
For reference, a native riscv64 build on a RISE runner takes about 2 minutes: https://github.com/gounthar/httptools/actions/runs/23713272213 If QEMU build times become a concern, native runners are available via the RISE Project (https://github.com/apps/rise-risc-v-runners). But the QEMU approach in this PR works and avoids external dependencies. |
Signed-off-by: Bruno Verachten <gounthar@gmail.com>
|
Updated |
Signed-off-by: Bruno Verachten <gounthar@gmail.com>
|
Friendly nudge on this one, no rush at all. I freshened the branch against current master and it is green; the new run is just waiting on a maintainer approval to start, since it is a fork PR. The riscv64 wheels build fine in the matrix. Anything I can do to help move it along, or something you would rather I change first? Mostly I did not want it to quietly get lost in the pile. |
Summary
Add
riscv64to the cibuildwheel arch matrix so thatlinux_riscv64wheels are built and published to PyPI.Changes:
riscv64tocibw_archlistThe existing QEMU infrastructure (already used for aarch64) handles emulation.
Evidence
httptools-0.7.1-cp313-cp313-linux_riscv64.whlContext
manylinux_2_28_riscv64images available (pypa/manylinux, 2025)Fixes #136
Note: this work is part of the RISE Project effort to improve Python ecosystem support on riscv64 platforms. Native riscv64 CI runners are available for free via RISE RISC-V runners.