From 5884366730fb3391075d47ed90ed2ffb61bb5e7e Mon Sep 17 00:00:00 2001 From: Andrew Sazonov Date: Thu, 22 Aug 2024 17:44:35 +0200 Subject: [PATCH] Try compiling CrysFML with `-O2` instead of `-O3` for gfortran --- pybuild.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybuild.toml b/pybuild.toml index aec4d89..cf05897 100644 --- a/pybuild.toml +++ b/pybuild.toml @@ -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']