Skip to content

Commit 2c8136d

Browse files
authored
Merge pull request #75 from bonachea/ci-fix-macos15
[NO REVIEW] CI: Fix FPM failures on macos-15-intel
2 parents 9348605 + f6e16ca commit 2c8136d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)