spack/etc/spack/defaults
Geoffrey Malcolm Oxberry 1f5ef5c876 darwin: cut DYLD_LIBRARY_PATH from default modules
This commit removes the DYLD_LIBRARY_PATH variable from the default
modules.yaml for darwin. The rationale behind deleting this
environment variable is that paths in this environment variable take
precedence over the default locations of libraries (usually the
install path of the library), which can lead to linking errors in some
circumstances. For example, executables intended to link with Apple's
system BLAS and LAPACK will instead link to a spack-installed
implementation (e.g., OpenBLAS), causing runtime errors.

These errors are resolved by instead relying on paths set in
DYLD_FALLBACK_LIBRARY_PATH, which is lower in precedence than default
locations of libraries.
2020-04-16 16:17:35 -07:00
..
darwin darwin: cut DYLD_LIBRARY_PATH from default modules 2020-04-16 16:17:35 -07:00
linux Set DYLD_LIBRARY_PATH on macOS (#9073) 2018-08-23 15:39:44 +02:00
config.yaml config: Add a new option connect_timeout 2020-02-27 10:52:52 -08:00
modules.yaml Module files won't use CPATH by default, but language specific vars (#14749) 2020-03-17 08:36:56 +01:00
packages.yaml Hack to select iconv implementation - libiconv vs. libc iconv (#15437) 2020-03-28 09:10:31 -05:00
repos.yaml Add "default" configuration scope. 2016-07-19 17:10:17 -07:00