Skip to content

Conversation

@ntkme
Copy link
Contributor

@ntkme ntkme commented Apr 29, 2025

See discussion in #21

@ntkme ntkme changed the title Skip gcc downgrade on clangarm64 Support clangarm64 compiler downgrade in the future Apr 29, 2025
@ntkme
Copy link
Contributor Author

ntkme commented Apr 29, 2025

@MSP-Greg This PR adds code needed if we every need to downgrade clangarm64 in the future. If that really happens, you will have to upload all the packages in the list and then just change the version number.

@ntkme ntkme marked this pull request as draft April 29, 2025 23:58
@ntkme ntkme marked this pull request as ready for review April 30, 2025 00:01
@MSP-Greg
Copy link
Collaborator

@ntkme

Thanks. You've seen the gcc commit, which was due to Windows Ruby CI on GitHub Actions crashing and burning anywhere an extension gem was installed. There's a PR in Ruby master that fixes the gcc 15 issue, but older Ruby versions will have problems.

A long time ago, there were simply three packages, MSYS2, MINGW, & UCRT (maybe no UCRT, not sure). Then OpenSSL 3 was released, and there was a need for testing with it, so more packages were added, since older Rubies weren't compatible with it. Now, there's the issue with gcc.

So, I want to take a minute and think about the best way to organize the code so it allows for adding new packages, as gcc 15 packages should be added.

A long time ago this framework (setup-msys2-gcc, setup-ruby, setup-ruby-pkgs, and the various repos building all the pre-packaged Rubies) was put in place to do the following:

  1. Allow 'non Windows' repo maintainers to add Windows jobs in a way that 'just works'.
  2. Minimize caching in repos
  3. Keep most of the traffic within the GitHub.com domain
  4. Make it as fast as possible

I don't know if you recall the Travis/Appveyor days, but it was not fun.

Anyway, are you okay with me closing this?

Lastly, thanks for checking the code in your PR that added arm64 support. The CI is showing:
'** No update to clangarm64 gcc tools needed **', so the updates are working correctly...

@ntkme ntkme closed this Apr 30, 2025
@ntkme ntkme deleted the skip-gcc-downgrade-on-clangarm64 branch April 30, 2025 00:26
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