Repository navigation
Conversation
threexc
force-pushed
the
tgamblin/autoport_tools
branch
2 times, most recently
from
October 16, 2026 12:25
5d051b2 to
1ede321
Compare
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
threexc
force-pushed
the
tgamblin/autoport_tools
branch
from
October 16, 2026 13:16
1ede321 to
15e0cad
Compare
This branch has not been deployed
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.
For upstream support, I've been using Claude to help cover a repetitive process for the simplest modules. These aren't the highest-value in terms of ecosystem utility (those would be modules like polars-runtime, grpcio, etc.), but in terms of general Python readiness, getting many of them building for riscv64 sooner rather than later should help justify support with more hesitant projects.
The approach I've taken follows this general pattern:
This PR is meant to provide tooling to help with steps 1-3, and is extended to cover cibuildwheel-based packages in addition to maturin. It should also be a good baseline to extend to cover more patterns, since right now it mainly targets projects whose build matrix takes the following shape (aarch64 as an example):
and adds something like:
The two scripts themselves are fairly self-explanatory, and generated with the help of Claude.
riscv64_autoport.pygoes through the process of editing already-cloned repositories, whileriscv64_discover.pysearches for and clones any repositories which don't have some sort of RISC-V support already. Both generate JSON reports and summarize what they did. Right now, since the types of build tooling searched for and the workflow patterns to be targeted are so limited, most repositories are untouched, but we could probably add more sophisticated checking. I'd appreciate your feedback.Note that I explicitly designed them around not automatically pushing or running any changes, either to forks of upstream repositories or PRs directly against them, since it should remain our responsibility to make sure the changes are validly written and will be suitable for maintainers to accept.