File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
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
+ run : |
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
+ run : |
33
+ ./autogen.pl
34
+ ./configure
35
+ make
You can’t perform that action at this time.
0 commit comments