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 @@ -167,10 +167,17 @@ jobs:
167167 apt install -y build-essential pkg-config make git curl
168168
169169 - name : Install macOS Dependencies
170- if : contains(matrix.os, 'macos') && matrix.compiler == 'flang'
170+ if : contains(matrix.os, 'macos')
171171 run : |
172172 set -x
173173 brew update
174+ # fpm binary distribution for macOS requires gfortran shared libraries from gcc@12
175+ brew install gcc@12
176+
177+ - name : Install LLVM flang on macOS
178+ if : contains(matrix.os, 'macos') && matrix.compiler == 'flang'
179+ run : |
180+ set -x
174181 brew install llvm@${COMPILER_VERSION} flang
175182 # workaround issue #228: clang cannot find homebrew flang's C header
176183 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