Skip to content

blosc2: add build-blosc2.yml for riscv64 wheels - #948

Open
luhenry wants to merge 2 commits into
mainfrom
blosc2
Open

blosc2: add build-blosc2.yml for riscv64 wheels#948
luhenry wants to merge 2 commits into
mainfrom
blosc2

Conversation

@luhenry

@luhenry luhenry commented Sep 4, 2026

Copy link
Copy Markdown
Member

Compiles four Cython/C extensions on top of C-Blosc2 and miniexpr (fetched via CMake FetchContent, built with scikit-build-core). Upstream publishes no riscv64 wheel.

Mirrors the build_wheels job of upstream's cibuildwheels.yml.

Differs from upstream

  • No cp315t wheel - numpy has no riscv64 wheel yet for cp315/cp315t anywhere.
  • CIBW_TEST_ENVIRONMENT: PYTHON_GIL=1 - the extensions declare no Py_mod_gil slot, so cp314t needs it to import cleanly.

Matrix: one cp311-abi3 wheel (retested on cp312-cp314) plus cp314t, matching upstream's shape minus cp315t (see above).

Testing

  • same subset upstream runs against its own sdist and abi3 wheel: test_open.py, test_vlmeta.py, ndarray/test_evaluate.py

License: OK - wheel ships LICENSE.txt plus miniexpr's bundled LICENSE/LICENSE-LIBTCC/LICENSE-SLEEF/LICENSE-TINYEXPR/THIRD_PARTY_NOTICES.md per its own CMake install rule (miniexpr bundles libtcc, LGPL-2.1, as a fetched static build, no dynamic system linkage).

Built and tested on riscv64 (cp311/cp312/cp313/cp314 abi3 + cp314t); 74 passed each.

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