print out debug information about which specs are applying which constraints

This commit is contained in:
Peter Josef Scheibel 2020-02-07 16:15:35 -08:00 committed by Todd Gamblin
parent 94e694b19f
commit ccd65895a6

View file

@ -2584,6 +2584,8 @@ def _merge_dependency(
else: else:
# merge package/vdep information into spec # merge package/vdep information into spec
try: try:
tty.debug(
"{0} applying constraint {1}".format(self.name, str(dep)))
changed |= spec_deps[dep.name].constrain(dep) changed |= spec_deps[dep.name].constrain(dep)
except spack.error.UnsatisfiableSpecError as e: except spack.error.UnsatisfiableSpecError as e:
fmt = 'An unsatisfiable {0}'.format(e.constraint_type) fmt = 'An unsatisfiable {0}'.format(e.constraint_type)