spack/etc/spack/defaults
Harmen Stoppels b52be75978
Experimental binding of shared ELF libraries (#31948)
Adds another post install hook that loops over the install prefix, looking for shared libraries type of ELF files, and sets the soname to their own absolute paths.

The idea being, whenever somebody links against those libraries, the linker copies the soname (which is the absolute path to the library) as a "needed" library, so that at runtime the dynamic loader realizes the needed library is a path which should be loaded directly without searching.

As a result:

1. rpaths are not used for the fixed/static list of needed libraries in the dynamic section (only for _actually_ dynamically loaded libraries through `dlopen`), which largely solves the issue that Spack's rpaths are a heuristic (`<prefix>/lib` and `<prefix>/lib64` might not be where libraries really are...)
2. improved startup times (no library search required)
2022-11-03 17:34:00 -06:00
..
cray Don't set LD_LIBRARY_PATH by default on Linux (#28354) 2022-08-11 09:33:08 -05:00
darwin Relative paths in default prefix_inspections start with ./ (#31867) 2022-08-23 12:54:12 -07:00
linux Don't set LD_LIBRARY_PATH by default on Linux (#28354) 2022-08-11 09:33:08 -05:00
windows Windows: fix library loading and enable Clingo bootstrapping (#33400) 2022-10-31 09:36:52 -07:00
bootstrap.yaml Update metadata for bootstrapping (#33665) 2022-11-03 09:05:03 +00:00
concretizer.yaml Deprecate spack:concretization over concretizer:unify (#30038) 2022-05-23 13:20:34 -07:00
config.yaml Experimental binding of shared ELF libraries (#31948) 2022-11-03 17:34:00 -06:00
mirrors.yaml Use AWS CloudFront for source mirror (#23978) 2021-05-28 00:18:30 -07:00
modules.yaml Relative paths in default prefix_inspections start with ./ (#31867) 2022-08-23 12:54:12 -07:00
packages.yaml go,gcc: Support external go compilers for Go bootstrap (#27769) 2022-10-18 10:18:49 -07:00
repos.yaml