spack/lib/spack
Vanessasaurus 6ff717f395
do not validate variants of concrete specs in solver setup (#22272)
Currently, regardless of a spec being concrete or not, we validate its variants in `spec_clauses` (part of `SpackSolverSetup`).  

This PR skips the check if the spec is concrete.

The reason we want to do this is so that the solver setup class (really, `spec_clauses`) can be used for cases when we just want the logic statements / facts (is that what they are called?) and we don't need to re-validate an already concrete spec.  We can't change existing concrete specs, and we have to be able to handle them *even if they violate constraints in the current spack*.  This happens in practice if we are doing the validation for a spec produced by a different spack install.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
2021-03-14 19:00:15 +00:00
..
docs Improve R package creation (#21861) 2021-03-05 21:19:15 +00:00
env Fix: Add a space between -isystem and the directory (#21599) 2021-02-10 15:56:42 -08:00
external Python 3.10 support: collections.abc (#20441) 2021-02-01 11:30:25 -06:00
llnl [WIP] relocate.py: parallelize test replacement logic (#19690) 2021-02-17 17:07:44 -08:00
spack do not validate variants of concrete specs in solver setup (#22272) 2021-03-14 19:00:15 +00:00