Skip to content

Warning on MacOS when installing the same version of gfortran as on the runner #129

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

Open
rikardn opened this issue May 8, 2025 · 1 comment · May be fixed by #131
Open

Warning on MacOS when installing the same version of gfortran as on the runner #129

rikardn opened this issue May 8, 2025 · 1 comment · May be fixed by #131
Labels
good first issue Good for newcomers

Comments

@rikardn
Copy link

rikardn commented May 8, 2025

The following warning is emitted by brew when trying to install the same version of gfortran (gcc) that is already installed on the runner.

Warning: gcc@12 12.4.0 is already installed and up-to-date.
To reinstall 12.4.0, run:
  brew reinstall gcc@12

This is a minor thing, but since github collects all the warnings in the summary page after a run this adds to the noise.

It should be possible to turn off all warnings from brew with -q, but this might not be desirable in general.

@wpbonelli
Copy link
Contributor

I don't think we want to turn off all warnings. We could check if the same gcc is already installed in install_gcc_brew like we do in install_gcc_apt and install_gcc_choco (in setup-fortran.sh).

@wpbonelli wpbonelli added the good first issue Good for newcomers label May 8, 2025
@rikardn rikardn linked a pull request May 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants