Skip to content

Commit fb34d89

Browse files
authored
Build riscv64 manylinux binary (#3402)
1 parent 05def00 commit fb34d89

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/build-binaries.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,10 @@ jobs:
299299
manylinux: 2_17
300300
# see https://github.com/astral-sh/ruff/issues/10073
301301
maturin_docker_options: -e JEMALLOC_SYS_WITH_LG_PAGE=16
302+
- target: riscv64gc-unknown-linux-gnu
303+
arch: riscv64
304+
# Minimum manylinux target for riscv64
305+
manylinux: 2_31
302306
- target: arm-unknown-linux-musleabihf
303307
# Use the cross container, but tag as `linux_armv6l`
304308
manylinux: auto
@@ -331,7 +335,7 @@ jobs:
331335
githubToken: ${{ github.token }}
332336
install: |
333337
apt-get update
334-
apt-get install -y --no-install-recommends python3 python3-pip
338+
apt-get install -y --no-install-recommends python3 python3-pip libatomic1
335339
pip3 install -U pip
336340
run: |
337341
pip3 install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall

dist-workspace.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ targets = [
3030
"x86_64-apple-darwin",
3131
"powerpc64-unknown-linux-gnu",
3232
"powerpc64le-unknown-linux-gnu",
33+
"riscv64gc-unknown-linux-gnu",
3334
"s390x-unknown-linux-gnu",
3435
"x86_64-unknown-linux-gnu",
3536
"x86_64-unknown-linux-musl",

0 commit comments

Comments
 (0)