Skip to content

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

Merged
luhenry merged 2 commits into
mainfrom
blosc2
Sep 5, 2026
Merged

blosc2: add build-blosc2.yml for riscv64 wheels#948
luhenry merged 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.

@luhenry
luhenry merged commit 2ba3155 into main Sep 5, 2026
8 checks passed
@luhenry
luhenry deleted the blosc2 branch September 5, 2026 05:28
@luhenry luhenry linked an issue Sep 5, 2026 that may be closed by this pull request
@luhenry luhenry mentioned this pull request Sep 5, 2026
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.

blosc2 riscv64 support

1 participant