Skip to content

anycrc: add build-anycrc.yml for riscv64 wheels - #1350

Merged
luhenry merged 1 commit into
mainfrom
anycrc
Sep 7, 2026
Merged

anycrc: add build-anycrc.yml for riscv64 wheels#1350
luhenry merged 1 commit into
mainfrom
anycrc

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles a Cython extension, anycrc.crc, against a vendored CRC library (lib/crc-clmul) that falls back to portable scalar C outside x86_64/aarch64/arm64. Upstream publishes no riscv64 wheel.

Mirrors upstream's github-deploy.yml.

Differs from upstream

  • riscv64 manylinux image; macOS/Windows builds dropped.
  • cibuildwheel config file without upstream's skip, so cp312-cp314 build/test against the cp311 abi3 wheel.

Matrix: cp311-abi3 built on cp311 and tested on cp312-cp314, plus cp314t.

Testing

  • runs upstream's own test.py.

License: OK

CI running.

Build-from-checkout cibuildwheel workflow mirroring upstream's
github-deploy.yml, narrowed to Linux/riscv64. setup.py disables its
CLMUL SIMD path automatically outside x86_64/aarch64/arm64, so
riscv64 falls back to the portable scalar C implementation with no
patching needed. abi3 (cp311-abi3) covers cp311-cp314; cp314t is
built separately since it can't use the limited API.
luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit 6d64b1c into main Sep 7, 2026
7 checks passed
@luhenry
luhenry deleted the anycrc branch September 7, 2026 16:04
@luhenry luhenry linked an issue Sep 7, 2026 that may be closed by this pull request
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.

anycrc riscv64 support

1 participant