summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/solver/asp.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/spack/solver/asp.py b/lib/spack/spack/solver/asp.py
index 0df83191a4..dfd2111453 100644
--- a/lib/spack/spack/solver/asp.py
+++ b/lib/spack/spack/solver/asp.py
@@ -1617,8 +1617,9 @@ class SpackSolverSetup(object):
"""
# Tell the concretizer about possible values from specs we saw in
- # spec_clauses()
- for pkg, variant, value in sorted(self.variant_values_from_specs):
+ # spec_clauses(). We might want to order these facts by pkg and name
+ # if we are debugging.
+ for pkg, variant, value in self.variant_values_from_specs:
self.gen.fact(fn.variant_possible_value(pkg, variant, value))
def _facts_from_concrete_spec(self, spec, possible):