Skip to content

Commit 8feea93

Browse files
committed
Remove outdated brew clang in MacOS 14
1 parent 6b4bc7f commit 8feea93

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/full-mpich.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,24 @@ jobs:
8282
steps:
8383
- uses: actions/checkout@v4
8484

85+
- name: Set environment
86+
run: |
87+
if [ "${{ matrix.version }}" -lt "15" ]; then
88+
echo "CXX=g++ -Wl,-ld_classic -Wl,-commons,use_dylibs -Wno-unused-command-line-argument" >> $GITHUB_ENV
89+
echo "LLVM_VERSION=15" >> $GITHUB_ENV
90+
elif [ "${{ matrix.version }}" -eq "15" ]; then
91+
echo "LLVM_VERSION=18" >> $GITHUB_ENV
92+
fi
93+
8594
- name: Install
8695
run: |
8796
brew install gcc m4 git bison hdf5 cmake wget autoconf automake
97+
brew remove llvm@$LLVM_VERSION
8898
8999
- name: Symlink GCC & Fortran
90100
run: ./etc/actions/macos/link_fortran.sh "$(uname -p)"
91101

92-
- name: Set ld_classic based on macOS version
93-
run: |
94-
if [ "${{ matrix.version }}" -ne "15" ]; then
95-
echo "CXX=g++ -Wl,-ld_classic -Wl,-commons,use_dylibs -Wno-unused-command-line-argument" >> $GITHUB_ENV
96-
fi
97-
102+
98103
- name: Configure
99104
run: |
100105
autoreconf -i

0 commit comments

Comments
 (0)