Skip to content

workflows: use uv for Linux builds, make Rust targets more explicit, enable riscv64 builds - #89

Merged
awolverp merged 3 commits into
awolverp:mainfrom
threexc:tgamblin/riscv64
Sep 4, 2026
Merged

workflows: use uv for Linux builds, make Rust targets more explicit, enable riscv64 builds#89
awolverp merged 3 commits into
awolverp:mainfrom
threexc:tgamblin/riscv64

Conversation

@threexc

@threexc threexc commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Make use of RISE's Native RISC-V Runners to build cachebox for riscv64. This requires enabling them for the repository as a GitHub Application. More info regarding enabling them is available here: https://riscv-runners.riseproject.dev/

This includes workflow tweaks to:

  1. Use the uv tool for the Linux builds, which is generally faster and supports more architectures
  2. Make the Rust toolchains more explicit (already done elsewhere in the workflows), since some platforms like riscv64 and ppc64 need this.

I tried a test run on my fork. You can review the results here (note that I added an extra commit just to make the publish job run to test it): threexc#1

This is being done on behalf of RISE, using the RISC-V Wheels dashboard to track upstream support for the Python ecosystem.

setup-uv supports more architectures (e.g. riscv64) than setup-python
and is generally faster, so use it for Linux jobs.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
For Linux builds, distinguish between 'target' and 'arch', since the two
are not always the same (e.g. the target for ppc64le is actually
powerpc64le-unknown-linux-gnu). This allows more explicit support for
other platforms when needed.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@awolverp

awolverp commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Thank you

@awolverp
awolverp merged commit d43b417 into awolverp:main Sep 4, 2026
12 checks passed
@threexc

threexc commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

@awolverp You're welcome!

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.

2 participants