File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -149,15 +149,20 @@ jobs:
149
149
CMAKE_BUILD_TYPE : Release
150
150
NUM_PROC_BUILD_MAX : ' 32'
151
151
run : |
152
+ # We to install a separate version of CMake because the bundled one
153
+ # has a bug with FindMPI that prevents it from finding MPI when
154
+ # compiling with GNU compilers.
155
+ brew install cmake
156
+
152
157
# Configure environment
153
158
if [[ "${{ matrix.compiler }}" == 'clang' ]]; then
154
- export CC=$(brew --prefix llvm@15 )/bin/clang
155
- export CXX=$(brew --prefix llvm@15 )/bin/clang++
159
+ export CC=$(brew --prefix llvm@18 )/bin/clang
160
+ export CXX=$(brew --prefix llvm@18 )/bin/clang++
156
161
export FC=gfortran-12
157
162
elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then
158
- export CC=gcc-12
159
- export CXX=g++-12
160
- export FC=gfortran-12
163
+ export CC=gcc-15
164
+ export CXX=g++-15
165
+ export FC=gfortran-15
161
166
fi
162
167
if [[ "${{ matrix.math-libs }}" == 'openblas' ]]; then
163
168
export OPENBLAS_DIR=$(brew --prefix openblas)
You can’t perform that action at this time.
0 commit comments