Skip to content

Commit

Permalink
Try compiling CrysFML with -O2 instead of -O3 for gfortran
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSazonov committed Aug 22, 2024
1 parent dc8552e commit 0e39656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybuild.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ build-shared = '{COMPILER} -shared CFML_Wraps.{OBJ_EXT} Wraps_*.{OBJ_EXT} {PATH}
build-exe = '{COMPILER} {OPTIONS} -o {EXE_NAME} {SOURCE_PATH} -I {CFML_INCLUDE_PATH} -L{CFML_LIB_DIR} -l{CFML_LIB_NAME}'
modes.base = '-cpp -fdec-math -fPIC -ffree-line-length-none -fno-stack-arrays -frecursive'
modes.debug = ''
modes.release = '-O3'
modes.release = '-O2'

[[build-configs]]
platforms = ['macos']
Expand Down

0 comments on commit 0e39656

Please sign in to comment.