Conversation
Build the BSD cvc5 wheel for riscv64 following upstream's package_pypi.yml: contrib/cibw/before_all_linux.sh builds libcvc5 and its auto-downloaded GMP, CaDiCaL, LibPoly and SymFPU once, then the Cython extension is built for cp312, cp313 and cp314 (upstream ships no free-threaded wheel). Patch cmake/Helpers.cmake so GMP is configured for riscv64-linux-gnu instead of riscv64-unknown-none, which builds no shared libgmp.
luhenry
added a commit
that referenced
this pull request
Sep 25, 2026
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cvc51.3.4Compiles the cvc5 SMT solver (libcvc5 with GMP, CaDiCaL, LibPoly and SymFPU) and its Cython bindings. Upstream publishes no riscv64 wheel.
Mirrors upstream's
package_pypi.yml.Differs from upstream
cvc5-gplis a separate distribution.Matrix: cp312, cp313, cp314 - upstream publishes no free-threaded wheel.
Testing
examples/api/python/quickstart.py)License: Wheel bundles GMP and LibPoly (LGPL-3.0), CaDiCaL (MIT) and SymFPU (BSD-3-Clause), and ships their licence texts.
Patches
0001-Map-riscv64-to-a-Linux-build-triplet-for-GMP.patch- To upstream. GMP is configured forriscv64-unknown-none, builds nolibgmp.so, and linking libcvc5 fails. riscv64-only.