spack/lib/spack
Chris Green e88c1d585c Move CMakePackage build directory to base stage directory (#8431)
Change the location of the CMake build area from the staged source
directory to the stage base directory.

This change allows CMake packages to refer to the build directory in
setup_environment (e.g. if tests need to have a directory in PATH):
Staging happens after the call to setup_environment(), and if the
stage area does not exist, then spec.stage.source_path returns None.

To accommodate this change, archived files (like config.log for
Autotools packages) are archived relative to the stage base directory
rather than the expanded source directory.

Other packages (those not using CMake) will still use the staged
source directory as the default working directory for builds (and
will still be unable to reference this directory in
setup_environment())
2019-03-26 17:40:49 -05:00
..
docs typo in documentation (#10976) 2019-03-21 14:29:40 -05:00
env Use Package.headers for -I options (#10623) 2019-02-26 12:42:30 -06:00
external copyright: update license headers for 2013-2019 copyright. 2019-01-01 00:44:28 -08:00
llnl Fix find_headers to also look for C++ headers and Fortran modules (#10798) 2019-03-08 21:06:22 -06:00
spack Move CMakePackage build directory to base stage directory (#8431) 2019-03-26 17:40:49 -05:00