Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow building the SDK with a custom toolchain prefix #228

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

Ivan-Velickovic
Copy link
Collaborator

@Ivan-Velickovic Ivan-Velickovic commented Oct 22, 2024

Allow building the SDK with a custom toolchain prefix

We will always have an official, 'supported' C toolchain but it has
become apparent that:

  1. GCC toolchain triples are a complete, inconsistent mess.
  2. People may have vendored toolchains that they must use when compiling
    from source.

Therefore, we introduce arguments to the build_sdk.py script that allows
overriding the default prefixes.

Closes #201.

@Ivan-Velickovic Ivan-Velickovic changed the title Toolchain argument Allow building the SDK with a custom toolchain prefix Oct 22, 2024
We will always have an official, 'supported' C toolchain but it has
become apparent that:
1. GCC toolchain triples are a complete, inconsistent mess.
2. People may have vendored toolchains that they must use when compiling
   from source.

Therefore, we introduce arguments to the build_sdk.py script that allows
overriding the default prefixes.

Signed-off-by: Ivan-Velickovic <[email protected]>
@Ivan-Velickovic Ivan-Velickovic merged commit c94776c into main Oct 22, 2024
11 checks passed
@Ivan-Velickovic Ivan-Velickovic deleted the toolchain_argument branch October 22, 2024 05:18
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.

Remove hardcoding of RISCV toolchain prefix
1 participant