diff options
author | Tamara Dahlgren <dahlgren1@llnl.gov> | 2019-06-05 17:37:25 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-06-05 22:41:28 -0700 |
commit | 1842873f85422eb1e5fb05f30c968de6e9a1c59a (patch) | |
tree | 493f1b683488ed6d8881988654c207fb87e5e843 /.github | |
parent | eb584d895bee8253147db723c527eff223e6ea35 (diff) | |
download | spack-1842873f85422eb1e5fb05f30c968de6e9a1c59a.tar.gz spack-1842873f85422eb1e5fb05f30c968de6e9a1c59a.tar.bz2 spack-1842873f85422eb1e5fb05f30c968de6e9a1c59a.tar.xz spack-1842873f85422eb1e5fb05f30c968de6e9a1c59a.zip |
stage: make `source_path` available before stage is built
- `stage.source_path` was previously overloaded; it returned `None` if it
didn't exist and this was used by client code
- we want to be able to know the `source_path` before it's created
- make stage.source_path available before it exists.
- use a well-known stage source path name, `$stage_path/src` that is
available when `Stage` is instantiated but does not exist until it's
"expanded"
- client code can now use the variable before the stage is created.
- client code can test whether the tarball is expanded by using the new
`stage.expanded` property instead of testing whether `source_path` is
`None`
- add tests for the new source_path semantics
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions