Skip to content

Conversation

etterli
Copy link

@etterli etterli commented Oct 7, 2025

Newer releases of the lowRISC maintained RISC-V toolchain contain builds for different architectures whereas older releases targeted only one architecture.
This change adds a switch to the util/get-toolchain.py script to select the desired architecture.

I opted for a manual architecture selection and chose x86_64 as default architecture. Is there a need to add an automatic architecture detection (i.e., somehow detecting the architecture of the host calling the script)?

This closes #26575.

Newer releases of the lowRISC maintained RISC-V toolchain contain builds for
different architectures whereas older releases targeted only one
architecture.
This change adds a switch to the util/get-toolchain.py script to select the desired
architecture.

Signed-off-by: Pascal Etterli <[email protected]>
@etterli etterli requested review from luismarques and jwnrt October 7, 2025 09:44
@nasahlpa
Copy link
Member

nasahlpa commented Oct 8, 2025

Thanks Pascal - I can confirm that this solves the issue with the current get-toolchain.py script.

Copy link
Contributor

@jwnrt jwnrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

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.

[util] get-toolchain.py returns arm toolchain
3 participants