-
Notifications
You must be signed in to change notification settings - Fork 6
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
Windows RISC-V toolchain build #9
Conversation
Thanks, this looks good - could you target it at the
Because when this was released the toolchain was using GCC 13, so this provided a simple way to ensure we were using GCC 14 as recommended by some of our developers. |
c15b292
to
416f2b9
Compare
Thanks, I have rebased on Sounds good on the GCC version then, I guess we could remove our clone of GCC entirely in a future refactor. |
416f2b9
to
3966ff2
Compare
@will-v-pi I see that you approved the workflow but it failed where it's trying to read an SSH key from secrets -- I guess that might have been needed when development was being done in private repos? So we could remove that step, or perhaps make it conditional, so it only runs on main? |
If you just comment out those sections that would probably be best, so the code is still there if we need it later, but doesn't get used as it's not required right now. |
Sure, done. |
Sorry, I meant for all the jobs (so the MacOS and Linux jobs as well) |
75f267d
to
2088d26
Compare
Ah, okay, no worries -- done. I didn't want to touch the non-Windows related parts of the build so did not assume that. |
Okay so looks like the Windows build works but there's something wrong with the macOS one. Should we consider this good to go and fix the macOS one separately? Or would you like me to give that a shot in this PR too? (It will take me a few days though.) |
I'm happy to merge this as-is, and fix the MacOS build separately, as it looks like that was a pre-existing issue with the current Risc-V toolchain. |
I've cleaned up the Windows builds and the riscv-gnu-toolchain build works fine.
However I couldn't get it to use our pre-cloned copy of GCC -- it appears to be an issue with paths that they've tried to fix twice but it still does not work with an external GCC src on msys2/Windows.
That should not be a problem currently though because the gcc submodule points to the same branch that we are cloning ourselves,
releases/gcc-14
.Can I ask what was the original motivation/intention behind cloning GCC separately?
Fixes #8.
Successful actions run and artifacts.