Skip to content

Commit 6100b9c

Browse files
authored
enable riscv64 wheels (#506)
2 parents 2f9b337 + c9d5ecf commit 6100b9c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

‎.github/workflows/publish.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
if: runner.os == 'Linux'
5353
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
5454
with:
55-
platforms: arm64
55+
platforms: arm64,riscv64
5656
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
5757
- uses: pypa/cibuildwheel@7c619efba910c04005a835b110b057fc28fd6e93 # v3.2.0
5858
env:

‎CHANGES.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Unreleased
99
:issue:`494`
1010
- Build Windows ARM64 wheels. :issue:`485`
1111
- Build Python 3.14 wheels. :issue:`503`
12+
- Build riscv64 wheels. :issue:`505`
1213

1314

1415
Version 3.0.2

‎pyproject.toml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,13 @@ commands = [["uv", "lock", {replace = "posargs", default = ["-U"], extend = true
194194
enable = "cpython-freethreading"
195195
build-frontend = "build[uv]"
196196

197+
[[tool.cibuildwheel.overrides]]
198+
select = "*-musllinux_riscv64"
199+
# uv is not available
200+
build-frontend = "build"
201+
197202
[tool.cibuildwheel.linux]
198-
archs = ["x86_64", "aarch64"]
203+
archs = ["x86_64", "aarch64", "riscv64"]
199204

200205
[tool.cibuildwheel.macos]
201206
archs = ["x86_64", "arm64"]

0 commit comments

Comments
 (0)