Skip to content

Commit da04482

Browse files
committed
gha: drop mpich testing on macOS for now
1 parent c7d0136 commit da04482

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/testing-macos.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
use_openmp: [OPENMP=ON]
2121
use_smm: [SMM=blas]
2222
blas_impl: [accelerate,openblas]
23-
mpi_suffix: [openmpi,mpich]
23+
mpi_suffix: [openmpi]
2424
exclude:
2525
- use_mpi: MPI=OFF
2626
mpi_suffix: mpich
@@ -31,19 +31,14 @@ jobs:
3131
fetch-depth: 0
3232
submodules: true
3333

34-
- name: Install dependencies
34+
- name: Install common dependencies
3535
run: |
3636
env HOMEBREW_NO_AUTO_UPDATE=1 brew install \
37-
ninja \
38-
openmpi
37+
ninja
3938
40-
- name: Unlink OpenMPI
39+
- name: Install ${{ matrix.mpi_suffix }}
4140
run: |
42-
brew unlink openmpi
43-
44-
- name: Install MPICH
45-
run: |
46-
env HOMEBREW_NO_AUTO_UPDATE=1 brew install mpich
41+
env HOMEBREW_NO_AUTO_UPDATE=1 brew install ${{ matrix.mpi_suffix }}
4742
4843
- name: Configure
4944
run: |
@@ -57,7 +52,6 @@ jobs:
5752
-DUSE_${{ matrix.use_openmp }} \
5853
-DUSE_${{ matrix.use_smm }} \
5954
$([ "${{ matrix.blas_impl }}" = "openblas" ] && echo '-DCMAKE_PREFIX_PATH=/usr/local/opt/openblas') \
60-
-DMPIEXEC_EXECUTABLE="$([ "${{ matrix.mpi_suffix }}" = "openmpi" ] && command -v /usr/local/Cellar/open-mpi/*/bin/mpiexec || command -v /usr/local/Cellar/mpich/*/bin/mpiexec)" \
6155
-DMPIEXEC_PREFLAGS="$([ "${{ matrix.mpi_suffix }}" = "openmpi" ] && echo "-mca btl ^openib --allow-run-as-root")" \
6256
-DTEST_MPI_RANKS=1 \
6357
..

0 commit comments

Comments
 (0)