xraypy / feff85exafs

Feff8L: Open Source theoretical EXAFS fitting standards
Other
15 stars 7 forks source link

Add flinkargs #40

Closed newville closed 7 years ago

newville commented 7 years ago

This adds FLINKARGS for use in linking the Feff8l executable files. The motivation is to be able to use a -headerpad_max_install_names option on Darwin to better allow the Mac-only utility install_name_tool to later change RPATH (that is, where they will be able to find Fortran dynamic libs) of these executable files. The not-quite-standard patchelf on Linux is similar, but appears to not need such a flag set.

This PR makes a few small additional changes: a) default for PREFIX is changed to ${CURDIR}/local_install so that default install is local and does not assume admin privileges. b) some non-code-changing cleanups of Feff6l, especially end-of-line comments in header files which spew warnings. c) add feff8l_ prefix to the installed executable binaries (so we install feff8l_pot, instead of pot (it may be legal in Seattle, but not everywhere else ;)).