Skip to content

ci: add riscv64 target to linux wheel build matrix - #58

Merged
DoctorJohn merged 1 commit into
DoctorJohn:mainfrom
gounthar:feat/add-riscv64-wheel
Mar 20, 2026
Merged

DoctorJohn merged 1 commit into
DoctorJohn:mainfrom
gounthar:feat/add-riscv64-wheel

Conversation

@gounthar

@gounthar gounthar commented Mar 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add riscv64 to the maturin-action linux build matrix so that linux_riscv64 wheels are built and published to PyPI.

maturin-action cross-compiles via riscv64gc-unknown-linux-gnu cargo target — no QEMU or additional infrastructure needed.

Evidence

Context

  • riscv64gc-unknown-linux-gnu is a Rust tier-2 target with std available
  • maturin-action handles cross-compilation transparently
  • RISC-V hardware is shipping (SiFive, SpacemiT, Sophgo SG2044)

Fixes #57


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.

@codspeed

codspeed Bot commented Mar 19, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 21 untouched benchmarks


Comparing gounthar:feat/add-riscv64-wheel (7a38084) with main (f0a02fc)

Open in CodSpeed

@gounthar

Copy link
Copy Markdown
Contributor Author

Native build verified on riscv64 hardware (BananaPi F3, SpacemiT K1, rv64gc, GCC 14.2.0): SUCCESS.

@DoctorJohn DoctorJohn left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, @gounthar. I appreciate the effort to make more packages available on RISC-V!

@DoctorJohn
DoctorJohn merged commit 0598440 into DoctorJohn:main Mar 20, 2026
32 checks passed
@gounthar
gounthar deleted the feat/add-riscv64-wheel branch March 20, 2026 14:48
@gounthar

Copy link
Copy Markdown
Contributor Author

Thanks for the quick review and merge! Really appreciate the fast turnaround.

gounthar added a commit to gounthar/fastar that referenced this pull request Oct 4, 2026
Upstream DoctorJohn#58 merged and PyPI ships riscv64 wheels
through the latest releases (manylinux_2_31_riscv64, cp310-cp314).
The fork build-riscv64.yml only rebuilds wheels PyPI already
publishes, so its weekly schedule is redundant - and it competes
with other self-hosted riscv64 builds for the single board.

Remove the workflow (build, release, notify-index) so it stops
running. Does not affect the RISE submission, which references
upstream DoctorJohn#58 and upstream PyPI wheels, not this fork build.

Signed-off-by: Bruno Verachten <[email protected]>
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.

Add riscv64 (linux_riscv64) wheel to PyPI releases

2 participants