summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Josef Scheibel <scheibel1@llnl.gov>2020-02-07 16:15:35 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2020-09-08 12:19:02 -0700
commitccd65895a63261b2c80a054ced8e29df50dcd25f (patch)
tree75e8a0bbed41accf9ac3e497d2ba9885d2474f88
parent94e694b19f0f83bd773f6014f71919816becf03a (diff)
downloadspack-ccd65895a63261b2c80a054ced8e29df50dcd25f.tar.gz
spack-ccd65895a63261b2c80a054ced8e29df50dcd25f.tar.bz2
spack-ccd65895a63261b2c80a054ced8e29df50dcd25f.tar.xz
spack-ccd65895a63261b2c80a054ced8e29df50dcd25f.zip
print out debug information about which specs are applying which constraints
-rw-r--r--lib/spack/spack/spec.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index 8c3969b8c9..0b4e7dfacf 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -2584,6 +2584,8 @@ class Spec(object):
else:
# merge package/vdep information into spec
try:
+ tty.debug(
+ "{0} applying constraint {1}".format(self.name, str(dep)))
changed |= spec_deps[dep.name].constrain(dep)
except spack.error.UnsatisfiableSpecError as e:
fmt = 'An unsatisfiable {0}'.format(e.constraint_type)