Skip to content

Commit

Permalink
Mac: Need to specify the version of gfortran (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang authored Sep 30, 2024
1 parent 4f1203f commit 833f903
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependencies/dependencies_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ brew install open-mpi || true
brew install ccache || true

# verify installation
gfortran --version
otool -L $(which gfortran)
gfortran-14 --version
otool -L $(which gfortran-14)
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
-DAMReX_FORTRAN_INTERFACES=ON \
-DAMReX_EB=ON \
-DAMReX_PARTICLES=ON \
-DCMAKE_Fortran_COMPILER=$(which gfortran) \
-DCMAKE_Fortran_COMPILER=$(which gfortran-14) \
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache)
cmake --build build --parallel 2
Expand All @@ -40,7 +40,7 @@ jobs:
-DAMReX_FORTRAN_INTERFACES=ON \
-DAMReX_EB=ON \
-DAMReX_PARTICLES=ON \
-DCMAKE_Fortran_COMPILER=$(which gfortran) \
-DCMAKE_Fortran_COMPILER=$(which gfortran-14) \
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache)
cmake --build build --parallel 2

0 comments on commit 833f903

Please sign in to comment.