diff options
author | Chris Green <greenc@fnal.gov> | 2019-03-26 17:40:49 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-03-26 17:40:49 -0500 |
commit | e88c1d585cb3a0cb2a6ba2f482b9a7389ea03db1 (patch) | |
tree | d39385041e07677365b077904f9350ef77837206 /var | |
parent | 7df70154dd32950529976f896e622cf369fd89b4 (diff) | |
download | spack-e88c1d585cb3a0cb2a6ba2f482b9a7389ea03db1.tar.gz spack-e88c1d585cb3a0cb2a6ba2f482b9a7389ea03db1.tar.bz2 spack-e88c1d585cb3a0cb2a6ba2f482b9a7389ea03db1.tar.xz spack-e88c1d585cb3a0cb2a6ba2f482b9a7389ea03db1.zip |
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())
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions