I realized while debugging an issue with my chemistry code that spurious rebuilds could arise when using case-optimization or analytically defining patch variables. Currently, build (staging) directories would correctly be separated but not install directories when the binaries live. This commit addresses this issue. The long build slug names (even longer with chemistry) are also now just hashes, as long directory names can overwhelm some filesystems. Further, staging, like install is now a separate directory within build/ holding the CMake binary directories. This makes the build/ structure easier to parse.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
Scope
[x] This PR comprises a set of related changes with a common goal
Description
I realized while debugging an issue with my chemistry code that spurious rebuilds could arise when using case-optimization or analytically defining patch variables. Currently, build (staging) directories would correctly be separated but not install directories when the binaries live. This commit addresses this issue. The long build slug names (even longer with chemistry) are also now just hashes, as long directory names can overwhelm some filesystems. Further,
staging
, likeinstall
is now a separate directory withinbuild/
holding the CMake binary directories. This makes thebuild/
structure easier to parse.Type of change
Please delete options that are not relevant.
Scope
How Has This Been Tested?