We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d5b36 commit 132ab03Copy full SHA for 132ab03
.github/workflows/compile-macos-arm64.yaml
@@ -0,0 +1,35 @@
1
+name: macOS(ARM64)
2
+
3
+on: [pull_request]
4
5
+jobs:
6
+ compile-macOS-ARM64:
7
+ runs-on: macos-latest
8
+ steps:
9
+ - name: Check Platform
10
+ run: |
11
+ if [ ! $(uname -m) = "arm64" ]; then
12
+ echo "Not on ARM64" >&2
13
+ exit 1
14
+ fi
15
+ - name: Setup macOS
16
17
+ # Copied from mpi4py/mpi-publish
18
+ # create gfortran symlink
19
+ cd $(brew --prefix)/bin
20
+ gfortran=$(ls gfortran-* | sort | head -n 1)
21
+ sudo ln -s $gfortran gfortran
22
+ # install autotools
23
+ brew install autoconf
24
+ brew install automake
25
+ brew install libtool
26
+ # unlink libevent
27
+ brew unlink libevent || true
28
+ - uses: actions/checkout@v4
29
+ with:
30
+ submodules: recursive
31
+ - name: Build Open MPI
32
33
+ ./autogen.pl
34
+ ./configure
35
+ make -j $(nproc)
0 commit comments