Skip to content

Commit f877583

Browse files
authored
ci: fall back to ifort 2021.6 on macos-13 (#2585)
As mentioned in #2575 we lost ifort 2021.7 on macOS, this is a temporary stopgap til we move to ifx. Now is the time to drop the macos-13 (intel mac) distribution entirely though. To keep it after the move to ifx we'd have to convert it to gfortran like the apple silicon distribution, and in any case github will retire macos-13 soon anyway.
1 parent 3e02bff commit f877583

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ jobs:
478478
runs-on: ${{ matrix.os }}
479479
env:
480480
FC: intel-classic
481-
FC_V: "2021.7"
481+
FC_V: "2021.6"
482482
strategy:
483483
fail-fast: false
484484
matrix:
@@ -662,7 +662,7 @@ jobs:
662662
run: pixi run pip install xugrid xarray netcdf4
663663

664664
- name: Set LDFLAGS (macOS)
665-
if: matrix.os == 'macos-13'
665+
if: runner.os == 'macOS'
666666
run: |
667667
os_ver=$(sw_vers -productVersion | cut -d'.' -f1)
668668
if (( "$os_ver" > 12 )); then

.github/workflows/large.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
include:
2020
# this combo is for windows parallel oneapi components (compilers + mkl/mpi) and petsc
2121
- {os: windows-2022, compiler: intel, version: 2024.0}
22-
# ifort 2021.7 currently used for all other CI testing
23-
- {os: windows-2022, compiler: intel-classic, version: 2021.7}
22+
# ifort 2021.6 currently used for all other CI testing
23+
- {os: windows-2022, compiler: intel-classic, version: 2021.6}
2424
steps:
2525
- name: Setup ${{ matrix.compiler }} ${{ matrix.version }}
2626
if: (!(matrix.compiler == 'intel' && matrix.version == '2024.0'))
@@ -46,7 +46,7 @@ jobs:
4646
matrix:
4747
include:
4848
- {compiler: gcc, version: 13}
49-
- {compiler: intel-classic, version: 2021.7}
49+
- {compiler: intel-classic, version: 2021.6}
5050
defaults:
5151
run:
5252
shell: bash -l {0}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
description: 'Compiler version to use. For supported options see https://github.com/MODFLOW-ORG/modflow6/blob/develop/DEVELOPER.md#compiler-compatibility.'
1818
required: false
1919
type: string
20-
default: '2021.7'
20+
default: '2021.6'
2121
releasemode:
2222
description: 'Build a full distribution containing sources, examples, and all documentation. If false, the distribution contains only binaries, mf6io, release notes, and code.json, with binaries built in develop mode, and disclaimers & version strings indicating preliminary/provisional status. If true, a full distribution is created, with binaries built in release mode, and disclaimer language indicating review and approval.'
2323
required: false
@@ -81,7 +81,7 @@ jobs:
8181
extended: false
8282
- os: windows-2022
8383
compiler: intel-classic
84-
version: "2021.7"
84+
version: "2021.6"
8585
optimization: 2
8686
extended: true
8787
defaults:

.github/workflows/release_dispatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333
description: 'Compiler version to use. For supported options see https://github.com/MODFLOW-ORG/modflow6/blob/develop/DEVELOPER.md#compiler-compatibility.'
3434
required: false
3535
type: string
36-
default: '2021.7'
36+
default: '2021.6'
3737
developmode:
3838
description: 'Build binaries in develop mode. If false, IDEVELOPMODE is set to 0.'
3939
required: false
@@ -111,7 +111,7 @@ jobs:
111111
elif [[ ("${{ github.event_name }}" == "push") && ("${{ github.ref_name }}" != "master") ]]; then
112112
# if release was triggered by pushing a release branch, use the default toolchain and version
113113
compiler_toolchain="intel-classic"
114-
compiler_version="2021.7"
114+
compiler_version="2021.6"
115115
echo "using default compiler toolchain $compiler_toolchain version $compiler_version"
116116
else
117117
# otherwise exit with an error

0 commit comments

Comments
 (0)