Skip to content

Commit

Permalink
feat: try manylinux_2_35_riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Feb 23, 2025
1 parent d57210d commit 7dd72e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
("x86_64", "ubuntu-24.04", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2")),
("aarch64", "ubuntu-24.04-arm", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2")),
("i686", "ubuntu-24.04", ("manylinux2014", "musllinux_1_2")),
("armv7l", "ubuntu-24.04-arm", ("manylinux_2_31", "musllinux_1_2")),
("armv7l", "ubuntu-24.04-arm", ("manylinux_2_35", "manylinux_2_31", "musllinux_1_2")),
("riscv64", "ubuntu-24.04", ("manylinux_2_35", "manylinux_2_31", "musllinux_1_2")),
]
expanded = [{"policy": policy, "platform": platform, "runner": runner} for platform, runner, policies in reduced for policy in policies]
print(json.dumps(expanded, indent=2))
Expand Down Expand Up @@ -82,6 +83,10 @@ jobs:
with:
fetch-depth: 50

- name: Set up QEMU
if: matrix.platform == 'riscv64'
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down
6 changes: 6 additions & 0 deletions docker/build_scripts/finalize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ for TOOL_PATH in "${MY_DIR}/requirements-tools/"*; do
case ${AUDITWHEEL_PLAT}-${TOOL} in
musllinux*_ppc64le-uv) continue;; # uv doesn't provide musl ppc64le wheels due to Rust issues
musllinux*_s390x-uv) continue;; # uv doesn't provide musl s390x wheels due to Rust issues
*_riscv64-uv) continue;; # no uv for riscv64
*_riscv64-cmake|*_riscv64-swig) manylinux_pkg_install "${TOOL}";;
*_riscv64-patchelf)
manylinux_pkg_install cmake
pipx install patchelf==0.17.2.1
;;
*) pipx install --pip-args="--require-hashes -r ${TOOL_PATH} --only-binary" "${TOOL}";;
esac
done
Expand Down

0 comments on commit 7dd72e0

Please sign in to comment.