Skip to content

Commit

Permalink
CI: Replace GitHub Actions MacOS compiler env
Browse files Browse the repository at this point in the history
This patch fixes the gcc compiler environment variables on their MacOS
systems.

GitHub recently made some GCC compiler changes on their MacOS machines;
specifically, `gcc-11` and `gfortran-11` appear to no longer be
available.  Previously, we were unable to use the default gcc and had to
use these executables.

On this newer version, we can use the default system gcc, and the `CC`
environment variable can be left unset.  We still need `FC` to point to
`gfortran`, since it otherwise tries to build with `f77`, which does not
exist.
  • Loading branch information
marshallward committed Aug 6, 2022
1 parent 7780ff4 commit 00b0c9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/macos-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ jobs:
runs-on: macOS-latest

env:
CC: gcc-11
FC: gfortran-11
FC: gfortran

defaults:
run:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/macos-stencil.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ jobs:
runs-on: macOS-latest

env:
CC: gcc-11
FC: gfortran-11
FC: gfortran

defaults:
run:
Expand Down

0 comments on commit 00b0c9f

Please sign in to comment.