summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2022-04-23 18:09:08 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2022-05-13 10:45:12 -0700
commit7ab46e26b561e40b7e1fd5bc926c5012aee3e153 (patch)
tree24554a20d55e0566d2a097f2ed6dc7799b7cbd14 /bin
parent6db215dd890d02afb26c2a946d976a52c01209f4 (diff)
downloadspack-7ab46e26b561e40b7e1fd5bc926c5012aee3e153.tar.gz
spack-7ab46e26b561e40b7e1fd5bc926c5012aee3e153.tar.bz2
spack-7ab46e26b561e40b7e1fd5bc926c5012aee3e153.tar.xz
spack-7ab46e26b561e40b7e1fd5bc926c5012aee3e153.zip
`content_hash()`: make it work on abstract specs
Some test cases had to be modified in a kludgy way so that abstract specs made concrete would have versions on them. We shouldn't *need* to do this, as the only reason we care is because the content hash has to be able to get an archive for a version. This modifies the content hash so that it can be called on abstract specs, including only relevant content. This does NOT add a partial content hash to the DAG hash, as we do not really want that -- we don't need in-memory spec hashes to need to load package files. It just makes `Package.content_hash()` less prickly and tests easier to understand.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions