Skip to content

Commit

Permalink
Try O3 optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSazonov committed Aug 23, 2024
1 parent 66c26c4 commit 02e7beb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pybuild.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ dist-progs = 'dist/CFML/progs' # for test programs

[cfml.git]
url = 'https://code.ill.fr/scientific-software/crysfml2008.git'
#branch = 'powder_mod_fix'
branch = 'master'

[cfml.scripts]
Expand Down Expand Up @@ -84,9 +83,9 @@ compilers = ['gfortran']
obj-ext = 'o'
build-shared = '{COMPILER} -shared CFML_Wraps.{OBJ_EXT} Wraps_*.{OBJ_EXT} {PATH}.{OBJ_EXT} -o {PATH}.{EXT} -L{CFML_LIB_PATH} -l{CFML_LIB_NAME} {PYTHON_LIB}'
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 = '-O2'
modes.base = '-cpp -fdec-math -fPIC -ffree-line-length-none -fno-stack-arrays -frecursive -m64'
modes.debug = '-O0'
modes.release = '-O3'

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

0 comments on commit 02e7beb

Please sign in to comment.