Skip to content

Spec.__str__: use full hash - #47322

Merged
alalazo merged 1 commit into
developfrom
hs/fix/spec-str-full-hash
Oct 30, 2024
Merged

Spec.__str__: use full hash#47322
alalazo merged 1 commit into
developfrom
hs/fix/spec-str-full-hash

Conversation

@haampie

@haampie haampie commented Oct 30, 2024

Copy link
Copy Markdown
Member

Follow-up to #46609

The idea is that spack -e env add ./concrete-spec.json would list the
full hash in the specs, so that (a) it's not ambiguous and (b) it could
in principle results in constant time lookup instead of linear time
substring match in large build caches.

The idea is that `spack -e env add ./concrete-spec.json` would list the
full hash in the specs, so that (a) it's not ambiguous and (b) it could
in principle results in constant time lookup instead of linear time
substring match in large build caches.
@spackbot-app spackbot-app Bot added the core PR affects Spack core functionality label Oct 30, 2024
@alalazo
alalazo merged commit 8bc0b2e into develop Oct 30, 2024
@alalazo
alalazo deleted the hs/fix/spec-str-full-hash branch October 30, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core PR affects Spack core functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants