diff options
author | Geoffrey Malcolm Oxberry <goxberry@gmail.com> | 2018-09-11 22:44:52 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-04-16 16:17:35 -0700 |
commit | 1f5ef5c8769bd257c73592744f0a305023f142e7 (patch) | |
tree | c6162e3e5a74f8319847d4f7c008f5a05ccb943c /.readthedocs.yml | |
parent | bacbaeb5638cf39196ed8cf3d18f665c208219da (diff) | |
download | spack-1f5ef5c8769bd257c73592744f0a305023f142e7.tar.gz spack-1f5ef5c8769bd257c73592744f0a305023f142e7.tar.bz2 spack-1f5ef5c8769bd257c73592744f0a305023f142e7.tar.xz spack-1f5ef5c8769bd257c73592744f0a305023f142e7.zip |
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.
Diffstat (limited to '.readthedocs.yml')
0 files changed, 0 insertions, 0 deletions