Conversation
Build the riscv64 wheel for BoundaryML's BAML Python runtime from the upstream Cargo workspace, mirroring the Linux legs of build-python-release.reusable.yaml. baml-py publishes no sdist, so the wheel is built from the git tag with PyO3/maturin-action, out of engine/ the way upstream does so cargo picks up engine/.cargo/config.toml. pyo3 carries abi3-py38 unconditionally, so one cp38-abi3 wheel covers every interpreter, matching the single Linux wheel upstream ships per architecture. The release profile's fat LTO and unlimited codegen units are overridden through CARGO_PROFILE_RELEASE_* for the 4-core riscv64 runners.
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
Contributor
|
Pulls in the pr-checks.yml 'edited' trigger fix so this PR's stale check_commit_messages result (from before the PR body's AI-attribution footer was stripped) can be re-evaluated against the current, clean body.
luhenry
marked this pull request as ready for review
September 21, 2026 20:41
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
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.
baml-py0.226.1Compiles BAML's Rust runtime, compiler and CLI into the
baml_pypyo3 extension module. Upstream publishes no riscv64 wheel.Mirrors upstream's
build-python-release.reusable.yaml.Differs from upstream
yum updateand the openssl packages dropped - no riscv64 crate in the graph links openssl.Matrix: one
cp38-abi3wheel, as upstream - pyo3 carriesabi3-py38unconditionally.Testing
baml-cliit ships: init a project, check and generate its pydantic client, then import that client back through the runtime.License: OK
Built on cp312.