Skip to content

libscrc: add build-libscrc.yml for riscv64 wheels - #1240

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

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

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Builds the CRC3-CRC82 checksum extensions (CRC8/16/24/32/64, CAN, Modbus, plus configurable "hacker" variants) from plain C sources. Upstream publishes no riscv64 wheel.

Mirrors upstream's pythonpackage.yml (build + python -m libscrc.test.crc16).

Differs from upstream

  • Builds from the tagged checkout, not PyPI's sdist - the sdist omits LICENSE (GPLv3+).
  • Builds both manylinux and musllinux - upstream builds neither in CI.

Testing

  • Extended to every test module upstream ships - upstream's own CI runs only crc16.

License: OK

Built on cp39 equivalent (x86_64, local); 22 passed, 0 skipped.

Pure-C CRC3-CRC82 checksum library, no build backend beyond setuptools
and no abi3 (extensions bind the full C API), so every interpreter
gets its own build. Building from the upstream checkout (not the PyPI
sdist, which omits LICENSE) picks up the GPLv3 LICENSE file for
setuptools' automatic dist-info inclusion. Test command extends
upstream's own CI (which only exercises libscrc.test.crc16) to every
test module the package ships.
luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit 2f14698 into main Sep 7, 2026
13 checks passed
@luhenry
luhenry deleted the libscrc branch September 7, 2026 08:27
@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.

libscrc riscv64 support

1 participant