File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 8
8
set -eu -o pipefail
9
9
10
10
brew update
11
- brew reinstall gcc || true
11
+ brew install gfortran || true
12
12
brew install libomp || true
13
13
brew install open-mpi || true
14
14
brew install ccache || true
15
+
16
+ # verify installation
17
+ gfortran --version
18
+ otool -L $( which gfortran)
19
+
20
+ ls /opt/homebrew/opt/gcc/lib/gcc/current/
Original file line number Diff line number Diff line change @@ -3,21 +3,19 @@ name: macos
3
3
on : [push, pull_request]
4
4
5
5
env :
6
- CXXFLAGS : " -Werror -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -fno-operator-names"
6
+ CXXFLAGS : " -Werror -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -fno-operator-names -Wno-pass-failed "
7
7
8
8
jobs :
9
9
# Build all tutorials
10
10
tests-macos :
11
- name : AppleClang@14 .0 GFortran@12.2 [tutorials]
11
+ name : AppleClang@15 .0 GFortran@14.1 [tutorials]
12
12
runs-on : macos-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
15
15
- name : Dependencies
16
16
run : .github/workflows/dependencies/dependencies_mac.sh
17
17
- name : Build & Install
18
18
run : |
19
- export LIBRARY_PATH=/usr/local/opt/gcc/lib/gcc/current
20
-
21
19
cd ExampleCodes
22
20
cmake -S . -B build \
23
21
-DBUILD_SHARED_LIBS=ON \
28
26
-DAMReX_FORTRAN_INTERFACES=ON \
29
27
-DAMReX_EB=ON \
30
28
-DAMReX_PARTICLES=ON \
31
- -DCMAKE_C_COMPILER=$(which gcc) \
32
- -DCMAKE_CXX_COMPILER=$(which g++) \
33
29
-DCMAKE_Fortran_COMPILER=$(which gfortran) \
34
30
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache)
35
31
cmake --build build --parallel 2
42
38
-DAMReX_FORTRAN_INTERFACES=ON \
43
39
-DAMReX_EB=ON \
44
40
-DAMReX_PARTICLES=ON \
45
- -DCMAKE_C_COMPILER=$(which gcc) \
46
- -DCMAKE_CXX_COMPILER=$(which g++) \
47
41
-DCMAKE_Fortran_COMPILER=$(which gfortran) \
48
42
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache)
49
43
cmake --build build --parallel 2
You can’t perform that action at this time.
0 commit comments