Skip to content

Commit

Permalink
Everything Gnu version 10 with rm gfortran
Browse files Browse the repository at this point in the history
  • Loading branch information
thfroitzheim committed Jun 5, 2024
1 parent 29c0066 commit 18a56f1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
build: meson
build-type: debug
compiler: gnu
version: 11
version: 10

- os: ubuntu-latest
build: meson
Expand All @@ -57,7 +57,7 @@ jobs:
build: cmake
build-type: debug
compiler: gnu
version: 11
version: 10

- os: ubuntu-latest
build: meson
Expand Down Expand Up @@ -99,6 +99,7 @@ jobs:
if: ${{ contains(matrix.os, 'macos') && matrix.compiler == 'gnu' }}
run: |
brew install gcc@${{ env.GCC_V }} openblas
rm /usr/local/bin/gfortran
ln -s /usr/local/bin/gfortran-${{ env.GCC_V }} /usr/local/bin/gfortran
ln -s /usr/local/bin/gcc-${{ env.GCC_V }} /usr/local/bin/gcc
ln -s /usr/local/bin/g++-${{ env.GCC_V }} /usr/local/bin/g++
Expand Down Expand Up @@ -329,7 +330,7 @@ jobs:

include:
- os: macos-13
gcc_v: 11
gcc_v: 10
python_v: '3.9'

env:
Expand All @@ -352,6 +353,7 @@ jobs:
if: ${{ contains(matrix.os, 'macos') }}
run: |
brew install gcc@${{ env.GCC_V }} openblas
rm /usr/local/bin/gfortran
ln -s /usr/local/bin/gfortran-${{ env.GCC_V }} /usr/local/bin/gfortran
ln -s /usr/local/bin/gcc-${{ env.GCC_V }} /usr/local/bin/gcc
ln -s /usr/local/bin/g++-${{ env.GCC_V }} /usr/local/bin/g++
Expand Down

0 comments on commit 18a56f1

Please sign in to comment.