|
84 | 84 | Remove-Item "oneAPI" -Force -Recurse
|
85 | 85 |
|
86 | 86 | - name: (Ubuntu) Install gfortran
|
87 |
| - if: contains(matrix.os,'ubuntu') && (!contains(matrix.mpi,'intel')) |
| 87 | + if: contains(matrix.os,'ubuntu') |
88 | 88 | run: |
|
89 | 89 | sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_V} 100 \
|
90 | 90 | --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
|
@@ -209,14 +209,6 @@ jobs:
|
209 | 209 | mv $(which fpm) fpm-bootstrap${{ matrix.exe }}
|
210 | 210 | echo "BOOTSTRAP=$PWD/fpm-bootstrap" >> $GITHUB_ENV
|
211 | 211 |
|
212 |
| - - name: Use Intel compiler for the metapackage tests |
213 |
| - if: contains(matrix.mpi,'intel') |
214 |
| - shell: bash |
215 |
| - run: | |
216 |
| - echo "FPM_FC=ifx" >> $GITHUB_ENV |
217 |
| - echo "FPM_CC=icx" >> $GITHUB_ENV |
218 |
| - echo "FPM_CXX=icpx" >> $GITHUB_ENV |
219 |
| -
|
220 | 212 | - name: (macOS) Use gcc/g++ instead of Clang for C/C++
|
221 | 213 | if: contains(matrix.os,'macOS')
|
222 | 214 | shell: bash
|
@@ -300,6 +292,14 @@ jobs:
|
300 | 292 | env:
|
301 | 293 | EXE: fpm-${{ env.VERSION }}-${{ matrix.os-arch }}${{ matrix.exe }}
|
302 | 294 |
|
| 295 | + - name: Use Intel compiler for the metapackage tests |
| 296 | + if: contains(matrix.mpi,'intel') |
| 297 | + shell: bash |
| 298 | + run: | |
| 299 | + echo "FPM_FC=ifx" >> $GITHUB_ENV |
| 300 | + echo "FPM_CC=icx" >> $GITHUB_ENV |
| 301 | + echo "FPM_CXX=icpx" >> $GITHUB_ENV |
| 302 | +
|
303 | 303 | - name: Run metapackage tests using the release version
|
304 | 304 | shell: bash
|
305 | 305 | run: |
|
|
0 commit comments