Skip to content

Commit bcb03eb

Browse files
authored
Merge pull request #268 from bonachea/ci-fix-macos15
[NO REVIEW] CI: Fix FPM failures on macos-15-intel
2 parents cccdd6b + 91b671e commit bcb03eb

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
@@ -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

0 commit comments

Comments
 (0)