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

makefiles/arch/riscv.inc.mk: Clean up target triple detection #19062

Closed
wants to merge 1 commit into from

Conversation

maribu
Copy link
Member

@maribu maribu commented Dec 16, 2022

Contribution description

riscv-none-embed is a technically incorrect target triple that was used in a previously popular legacy toolchain. It is not possible anymore to create a toolchain with that triple from upstream sources and all popular distros have migrated. It should be safe to ditch that now.

Testing procedure

Since we were basically waiting for the CI to also ditch that legacy toolchain, a green Murdock will be the important part. In addition, it would be nice to check if building RISC-V binaries still works with the toolchain Ubuntu ships.

Issues/PRs references

None

riscv-none-embed is a technically incorrect target triple that was used
in a previously popular legacy toolchain. It is not possible anymore
to create a toolchain with that triple from upstream sources and all
popular distros have migrated. It should be safe to ditch that now.
@maribu maribu added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Dec 16, 2022
@maribu maribu requested a review from benpicco December 16, 2022 18:14
@github-actions github-actions bot added Area: build system Area: Build system Platform: RISC-V Platform: This PR/issue effects RISC-V-based platforms labels Dec 16, 2022
@riot-ci
Copy link

riot-ci commented Dec 16, 2022

Murdock results

✔️ PASSED

d8c6b0f makefiles/arch/riscv.inc.mk: Clean up target triple detection

Success Failures Total Runtime
2006 0 2006 06m:25s

Artifacts

@maribu
Copy link
Member Author

maribu commented Dec 16, 2022

bors merge

bors bot added a commit that referenced this pull request Dec 16, 2022
19062: makefiles/arch/riscv.inc.mk: Clean up target triple detection r=maribu a=maribu

### Contribution description

`riscv-none-embed` is a technically incorrect target triple that was used in a previously popular legacy toolchain. It is not possible anymore to create a toolchain with that triple from upstream sources and all popular distros have migrated. It should be safe to ditch that now.

### Testing procedure

Since we were basically waiting for the CI to also ditch that legacy toolchain, a green Murdock will be the important part. In addition, it would be nice to check if building RISC-V binaries still works with the toolchain Ubuntu ships.

### Issues/PRs references

None

Co-authored-by: Marian Buschsieweke <[email protected]>
@bors
Copy link
Contributor

bors bot commented Dec 16, 2022

Build failed:

@maribu
Copy link
Member Author

maribu commented Dec 16, 2022

This looks bad...

@aabadie
Copy link
Contributor

aabadie commented Dec 19, 2022

bors merge

@aabadie
Copy link
Contributor

aabadie commented Dec 19, 2022

Hmm, IIUC this PR relies on the changes that were reverted to fix the CI. Cancelling bors for now.

bors merge-

@bors
Copy link
Contributor

bors bot commented Dec 19, 2022

Canceled.

@maribu maribu added the State: waiting for CI update State: The PR requires an Update to CI to be performed first label Dec 19, 2022
@maribu
Copy link
Member Author

maribu commented Dec 19, 2022

Hmm, IIUC this PR relies on the changes that were reverted to fix the CI. Cancelling bors for now.

bors merge-

Yes, exactly. I added a label to indicate the state. Looks like this is something to tackle after the next release.

@Teufelchen1
Copy link
Contributor

[..] Looks like this is something to tackle after the next release.

@maribu
Copy link
Member Author

maribu commented Jan 24, 2024

Sadly, the RISC-V toolchain in the CI is still the unmaintained riscv-none-embed.

Maybe @benpicco wants to give switching the RISC-V toolchain to something modern another try?

@maribu
Copy link
Member Author

maribu commented Feb 19, 2024

Superseded by: #20380

@maribu maribu closed this Feb 19, 2024
@maribu maribu deleted the makefiles/arch/riscv.inc.mk branch February 19, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: RISC-V Platform: This PR/issue effects RISC-V-based platforms State: waiting for CI update State: The PR requires an Update to CI to be performed first Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants