Skip to content

ckzg: add build-ckzg.yml for riscv64 wheels - #908

Merged
luhenry merged 1 commit into
mainfrom
ckzg
Sep 4, 2026
Merged

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

Conversation

@luhenry

@luhenry luhenry commented Sep 4, 2026

Copy link
Copy Markdown
Member

Python bindings for C-KZG-4844, Ethereum's KZG polynomial commitment library, statically linking the vendored BLST elliptic-curve library. Upstream publishes no riscv64 wheel.

Mirrors upstream's python-release.yml. Nothing beyond the riscv64 image.

Testing

  • same as upstream: bindings/python/tests.py against the KZG test vectors, which the full checkout brings along (not part of the PyPI sdist)

License: Statically links vendored BLST under the same Apache-2.0 licence text already shipped in the wheel.

Built on cp312-manylinux_riscv64 and cp312-musllinux_riscv64; all 10 upstream test groups passed, 0 skipped.

Build-from-checkout of ethereum/c-kzg-4844 (submodules recursive pulls
in the vendored BLST, whose build.sh auto-falls back to the portable
C implementation on any arch outside x86_64/aarch64 via -D__BLST_NO_ASM__,
so riscv64 needs no extra configuration). Mirrors upstream's
python-release.yml CIBW_BEFORE_BUILD_LINUX (clang install + make -C src
blst) and attempts both manylinux and musllinux riscv64, since the
package has no runtime dependencies to block musl. Tests run the
upstream bindings/python/tests.py suite against the full KZG test
vector tree, which the checkout brings along (not part of the sdist).
@luhenry
luhenry merged commit 8342fa6 into main Sep 4, 2026
14 checks passed
@luhenry
luhenry deleted the ckzg branch September 4, 2026 09:05
@luhenry luhenry mentioned this pull request Sep 4, 2026
@luhenry luhenry linked an issue Sep 4, 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.

ckzg riscv64 support

1 participant