Skip to content

feat(google-crc32c): add riscv64 manylinux wheel builds#16559

Open
gounthar wants to merge 1 commit intogoogleapis:mainfrom
gounthar:feat/google-crc32c-riscv64-wheels
Open

feat(google-crc32c): add riscv64 manylinux wheel builds#16559
gounthar wants to merge 1 commit intogoogleapis:mainfrom
gounthar:feat/google-crc32c-riscv64-wheels

Conversation

@gounthar
Copy link
Copy Markdown

@gounthar gounthar commented Apr 5, 2026

Summary

Adds riscv64 to the manylinux wheel build matrix for google-crc32c.

  • scripts/manylinux/build.sh: add manylinux_2_39_riscv64 docker run block (the correct manylinux tag for riscv64; manylinux2014 has no riscv64 variant)
  • .github/workflows/riscv64-wheels.yml: CI workflow to build and upload riscv64 wheels on pull_request/push to main

The build uses QEMU emulation on ubuntu-latest, matching the existing approach for aarch64.

This follows up on googleapis/python-crc32c#337, which was closed when that repo was archived. @parthea asked to re-open the PR here.

Test plan

  • CI workflow builds riscv64 wheels successfully
  • Wheel has correct manylinux_2_39_riscv64 platform tag

Add riscv64 to the manylinux wheel build matrix using the
manylinux_2_39_riscv64 image (the correct tag for riscv64; manylinux2014
has no riscv64 variant).

Changes:
- scripts/manylinux/build.sh: add riscv64 docker run block
- .github/workflows/riscv64-wheels.yml: CI workflow to build and upload
  riscv64 wheels on pull_request/push to main

The build uses QEMU emulation on ubuntu-latest, matching the approach
used for the existing aarch64 builds.

Follows up on googleapis/python-crc32c#337 (closed when repo was
archived; maintainer asked to re-open here).

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces support for building riscv64 wheels by adding a new GitHub Actions workflow and updating the manylinux build script. Feedback was provided to improve the build script by removing unnecessary Docker flags and redundant pull commands, properly quoting shell variables for robustness, and ensuring the BUILD_PYTHON environment variable is consistently passed in the CI workflow.

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.

1 participant