spack/lib/spack
Todd Gamblin 3e570ce694 bugfix: allow imposed constraints to be overridden in special cases
In most cases, we want condition_holds(ID) to imply any imposed
constraints associated with the ID. However, the dependency relationship
in Spack is special because it's "extra" conditional -- a dependency
*condition* may hold, but we have decided that externals will not have
dependencies, so we need a way to avoid having imposed constraints appear
for nodes that don't exist.

This introduces a new rule that says that constraints are imposed
*unless* we define `do_not_impose(ID)`. This allows rules like
dependencies, which rely on more than just spec conditions, to cancel
imposed constraints.

We add one special case for this: dependencies of externals.
2021-03-16 12:50:14 +01: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 bugfix: allow imposed constraints to be overridden in special cases 2021-03-16 12:50:14 +01:00