Repository navigation
Commit 34ead0a
feat: add riscv64 to Linux wheel build matrix (msgspec#987)
## Summary
Add `linux_riscv64` wheels to the build matrix.
### Changes
- Add riscv64 matrix entry (`ubuntu-latest`) to `build-wheels.yml`
- Add QEMU setup step for riscv64 emulation on x86_64 runners
### Evidence
- Tested wheel:
[msgspec-0.19.0-cp313-cp313-linux_riscv64.whl](https://github.com/gounthar/riscv64-python-wheels/releases/tag/v2026.03.07-cp313)
- Built natively on BananaPi F3 (SpacemiT K1, rv64imafdcv, 8 cores @ 1.6
GHz, 16 GB RAM)
- Imports and passes basic smoke test on riscv64
### Context
- `manylinux_2_28_riscv64` is available in pypa/manylinux
- cibuildwheel 3.x supports riscv64 via QEMU
- Several packages already ship riscv64 wheels: aiohttp, yarl,
multidict, propcache
- RISC-V hardware is shipping (SiFive, SpacemiT, Sophgo SG2044)
Ref: msgspec#986
---
Note: this work is part of the [RISE Project](https://riseproject.dev/)
effort to improve Python ecosystem support on riscv64 platforms. Native
riscv64 CI runners are available for free via [RISE RISC-V
runners](https://github.com/apps/rise-risc-v-runners).
---------
Signed-off-by: Bruno Verachten <[email protected]>
Co-authored-by: aleksandr.tseluyko <[email protected]>
Co-authored-by: Ofek Lev <[email protected]>1 parent 4d0ca3f commit 34ead0a
2 files changed
Lines changed: 29 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
47 | 64 | | |
48 | 65 | | |
49 | | - | |
50 | | - | |
| 66 | + | |
| 67 | + | |
51 | 68 | | |
52 | | - | |
| 69 | + | |
53 | 70 | | |
54 | 71 | | |
55 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
0 commit comments