diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2018-08-23 08:39:44 -0500 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-08-23 15:39:44 +0200 |
commit | 7f419d34ac7e1db0efe668342f0a27bae9feff3b (patch) | |
tree | 7c70f2ce0ee6aee0e6c31e8ddf2a3a40fbcc1923 /etc | |
parent | 983957f7c05bbda048a589b02979e04374a2dddd (diff) | |
download | spack-7f419d34ac7e1db0efe668342f0a27bae9feff3b.tar.gz spack-7f419d34ac7e1db0efe668342f0a27bae9feff3b.tar.bz2 spack-7f419d34ac7e1db0efe668342f0a27bae9feff3b.tar.xz spack-7f419d34ac7e1db0efe668342f0a27bae9feff3b.zip |
Set DYLD_LIBRARY_PATH on macOS (#9073)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/spack/defaults/darwin/modules.yaml | 23 | ||||
-rw-r--r-- | etc/spack/defaults/linux/modules.yaml | 21 | ||||
-rw-r--r-- | etc/spack/defaults/modules.yaml | 2 |
3 files changed, 44 insertions, 2 deletions
diff --git a/etc/spack/defaults/darwin/modules.yaml b/etc/spack/defaults/darwin/modules.yaml new file mode 100644 index 0000000000..570aec2e84 --- /dev/null +++ b/etc/spack/defaults/darwin/modules.yaml @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------------- +# This is the default configuration for Spack's module file generation. +# +# Settings here are versioned with Spack and are intended to provide +# sensible defaults out of the box. Spack maintainers should edit this +# file to keep it current. +# +# Users can override these settings by editing the following files. +# +# Per-spack-instance settings (overrides defaults): +# $SPACK_ROOT/etc/spack/modules.yaml +# +# Per-user settings (overrides default and site settings): +# ~/.spack/modules.yaml +# ------------------------------------------------------------------------- +modules: + prefix_inspections: + lib: + - DYLD_LIBRARY_PATH + - DYLD_FALLBACK_LIBRARY_PATH + lib64: + - DYLD_LIBRARY_PATH + - DYLD_FALLBACK_LIBRARY_PATH diff --git a/etc/spack/defaults/linux/modules.yaml b/etc/spack/defaults/linux/modules.yaml new file mode 100644 index 0000000000..a86a4794f1 --- /dev/null +++ b/etc/spack/defaults/linux/modules.yaml @@ -0,0 +1,21 @@ +# ------------------------------------------------------------------------- +# This is the default configuration for Spack's module file generation. +# +# Settings here are versioned with Spack and are intended to provide +# sensible defaults out of the box. Spack maintainers should edit this +# file to keep it current. +# +# Users can override these settings by editing the following files. +# +# Per-spack-instance settings (overrides defaults): +# $SPACK_ROOT/etc/spack/modules.yaml +# +# Per-user settings (overrides default and site settings): +# ~/.spack/modules.yaml +# ------------------------------------------------------------------------- +modules: + prefix_inspections: + lib: + - LD_LIBRARY_PATH + lib64: + - LD_LIBRARY_PATH diff --git a/etc/spack/defaults/modules.yaml b/etc/spack/defaults/modules.yaml index 8b6f1b40af..b5ea65da95 100644 --- a/etc/spack/defaults/modules.yaml +++ b/etc/spack/defaults/modules.yaml @@ -28,10 +28,8 @@ modules: - ACLOCAL_PATH lib: - LIBRARY_PATH - - LD_LIBRARY_PATH lib64: - LIBRARY_PATH - - LD_LIBRARY_PATH include: - CPATH lib/pkgconfig: |