summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-08-23 21:54:12 +0200
committerGitHub <noreply@github.com>2022-08-23 12:54:12 -0700
commit8af3743e911be25f60de9ddf2be77f1d2429b625 (patch)
tree234f46ddc7a83eb58926aff22337c1b4c60910f1 /etc
parent707a099b69ff5cf56fb10264efa785bb6f5c9ff7 (diff)
downloadspack-8af3743e911be25f60de9ddf2be77f1d2429b625.tar.gz
spack-8af3743e911be25f60de9ddf2be77f1d2429b625.tar.bz2
spack-8af3743e911be25f60de9ddf2be77f1d2429b625.tar.xz
spack-8af3743e911be25f60de9ddf2be77f1d2429b625.zip
Relative paths in default prefix_inspections start with ./ (#31867)
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/darwin/modules.yaml4
-rw-r--r--etc/spack/defaults/modules.yaml19
2 files changed, 12 insertions, 11 deletions
diff --git a/etc/spack/defaults/darwin/modules.yaml b/etc/spack/defaults/darwin/modules.yaml
index a90cc24c60..b913d1029e 100644
--- a/etc/spack/defaults/darwin/modules.yaml
+++ b/etc/spack/defaults/darwin/modules.yaml
@@ -15,7 +15,7 @@
# -------------------------------------------------------------------------
modules:
prefix_inspections:
- lib:
+ ./lib:
- DYLD_FALLBACK_LIBRARY_PATH
- lib64:
+ ./lib64:
- DYLD_FALLBACK_LIBRARY_PATH
diff --git a/etc/spack/defaults/modules.yaml b/etc/spack/defaults/modules.yaml
index 8914a6a733..27450b4259 100644
--- a/etc/spack/defaults/modules.yaml
+++ b/etc/spack/defaults/modules.yaml
@@ -14,23 +14,24 @@
# ~/.spack/modules.yaml
# -------------------------------------------------------------------------
modules:
- # Paths to check when creating modules for all module sets
+ # This maps paths in the package install prefix to environment variables
+ # they should be added to. For example, <prefix>/bin should be in PATH.
prefix_inspections:
- bin:
+ ./bin:
- PATH
- man:
+ ./man:
- MANPATH
- share/man:
+ ./share/man:
- MANPATH
- share/aclocal:
+ ./share/aclocal:
- ACLOCAL_PATH
- lib/pkgconfig:
+ ./lib/pkgconfig:
- PKG_CONFIG_PATH
- lib64/pkgconfig:
+ ./lib64/pkgconfig:
- PKG_CONFIG_PATH
- share/pkgconfig:
+ ./share/pkgconfig:
- PKG_CONFIG_PATH
- '':
+ ./:
- CMAKE_PREFIX_PATH
# These are configurations for the module set named "default"