spack/etc/spack/defaults
Greg Becker fafff0c6c0
move sbang to unpadded install tree root (#19640)
Since #11598 sbang has been installed within the install_tree. This doesn’t play
nicely with install_tree padding, since sbang can’t do its job if it is installed in a
long path (this is the whole point of sbang).

This PR changes the padding specification.  Instead of $padding inside paths,
we now have a separate `padding:` field in the `install_tree` configuration.

Previously, the `install_tree` looked like this:

```
    /path/to/opt/spack_padding_padding_padding_padding_padding/
        bin/
            sbang
        .spack-db/
            ...
        linux-rhel7-x86_64/
            ...
```

```
This PR updates things to look like this:

    /path/to/opt/
        bin/
            sbang
        spack_padding_padding_padding_padding_padding/
            .spack-db/
                ...
            linux-rhel7-x86_64/
                ...

So padding is added at the start of all install prefixes *within* the unpadded
root.  The database and all installations still go under the padded root.

This ensures that `sbang` is in the shorted possible path while also allowing
us to make long paths for relocatable binaries.
2020-11-12 16:08:55 -08:00
..
darwin Update packages.yaml format and support configuration updates 2020-08-10 11:59:05 -07:00
linux Set DYLD_LIBRARY_PATH on macOS (#9073) 2018-08-23 15:39:44 +02:00
config.yaml move sbang to unpadded install tree root (#19640) 2020-11-12 16:08:55 -08:00
mirrors.yaml add public spack mirror (#17077) 2020-07-08 15:59:24 -07: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 [NEW] Added amdfftw, amdlibflame and amdscalapack recipes (#19457) 2020-10-31 11:57:17 -05:00
repos.yaml Add "default" configuration scope. 2016-07-19 17:10:17 -07:00