diff options
author | Greg Becker <becker33@llnl.gov> | 2024-11-12 14:04:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 15:04:47 -0700 |
commit | 1809b81e1d28e51e13846d1e981e8e49e2ea0c43 (patch) | |
tree | a8e7b180b47837b34f57ecb482733cf1d868542d /share | |
parent | a02b40b670692cc7986a32d5a1de65e252b1791c (diff) | |
download | spack-1809b81e1d28e51e13846d1e981e8e49e2ea0c43.tar.gz spack-1809b81e1d28e51e13846d1e981e8e49e2ea0c43.tar.bz2 spack-1809b81e1d28e51e13846d1e981e8e49e2ea0c43.tar.xz spack-1809b81e1d28e51e13846d1e981e8e49e2ea0c43.zip |
parse_specs: special case for concretizing lookups quickly (#47556)
We added unification semantics for parsing specs from the CLI, but there are a couple
of special cases in which we can avoid calls to the concretizer for speed when the
specs can all be resolved by lookups.
- [x] special case 1: solving a single spec
- [x] special case 2: all specs are either concrete (come from a file) or have an abstract
hash. In this case if concretizer:unify:true we need an additional check to confirm
the specs are compatible.
- [x] add a parameterized test for unifying on the CI
---------
Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions