File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -156,10 +156,17 @@ jobs:
156156 fi
157157
158158 - name : Install macOS Dependencies
159- if : contains(matrix.os, 'macos') && matrix.compiler == 'flang'
159+ if : contains(matrix.os, 'macos')
160160 run : |
161161 set -x
162162 brew update
163+ # fpm binary distribution for macOS requires gfortran shared libraries from gcc@12
164+ brew install gcc@12
165+
166+ - name : Install LLVM flang on macOS
167+ if : contains(matrix.os, 'macos') && matrix.compiler == 'flang'
168+ run : |
169+ set -x
163170 brew install llvm@${COMPILER_VERSION} flang
164171 # workaround issue #228: clang cannot find homebrew flang's C header
165172 for p in /opt/homebrew /usr/local $(brew --prefix) ; do find $p/Cellar/flang -name ISO_Fortran_binding.h 2>/dev/null || true ; done
You can’t perform that action at this time.
0 commit comments