Skip to content

Commit

Permalink
update config_macos_gnu.sh, compile options for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalie Perlin authored and Natalie Perlin committed Oct 31, 2023
1 parent 89e169c commit 1f47d35
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions config/config_macos_gnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export USE_SUDO=N
export PKGDIR=pkg
export LOGDIR=log
export OVERWRITE=N
export NTHREADS=8
export NTHREADS=4
export MAKE_CHECK=N
export MAKE_VERBOSE=Y
export MAKE_CLEAN=N
Expand All @@ -24,8 +24,12 @@ export WGET="wget -nv "

#
# gfortran-10 needs the following
export STACK_FFLAGS="-fallow-argument-mismatch -fallow-invalid-boz"
export STACK_FFLAGS="-fallow-argument-mismatch -fallow-invalid-boz -march=native "
export STACK_CFLAGS="-march=native"
export STACK_CXXFLAGS="-march=native"
export STACK_mpi_FFLAGS="-fopenmp"
export STACK_mpi_CFLAGS="-fopenmp"
export STACK_mpi_CXXFLAGS="-fopenmp"

BREW=$(brew --prefix)

Expand Down

0 comments on commit 1f47d35

Please sign in to comment.