spack/lib/spack
Peter Scheibel 8ca384875e
Dynamic library/include paths (#8136)
Fixes #7855
Closes #8070
Closes #2645

When searching for library directories (e.g. to add "-L" arguments to
the compiler wrapper) Spack was only trying the "lib/" and "lib64/"
directories for each dependency install prefix; this missed cases
where packages would install libraries to subdirectories and also was
not customizable. This PR makes use of the ".headers" and ".libs"
properties for more-advanced location of header/library directories.
Since packages can override the default behavior of ".headers" and
".libs", it also allows package writers to customize.

The following environment variables which used to be set by Spack
for a package build have been removed:

* Remove SPACK_PREFIX and SPACK_DEPENDENCIES environment variables as
  they are no-longer used
* Remove SPACK_INSTALL environment variable: it was not used before
  this PR
2019-02-13 17:38:14 -06:00
..
docs Enhancement to module autoload documentation (#10310) 2019-02-12 22:02:13 +01:00
env Dynamic library/include paths (#8136) 2019-02-13 17:38:14 -06:00
external copyright: update license headers for 2013-2019 copyright. 2019-01-01 00:44:28 -08:00
llnl Allow tty output to be timestamped (#10554) 2019-02-13 10:14:35 -08:00
spack Dynamic library/include paths (#8136) 2019-02-13 17:38:14 -06:00