summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-08-18 16:22:51 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2020-11-17 10:04:13 -0800
commit4288639770b43ba9af78cd2507a2a88dec3322c2 (patch)
tree5a6123351f46794ad6e88236a0316bab88f93e9a /lib
parent60cf3fdb34da13684778bb1d4787f68d8a79387c (diff)
downloadspack-4288639770b43ba9af78cd2507a2a88dec3322c2.tar.gz
spack-4288639770b43ba9af78cd2507a2a88dec3322c2.tar.bz2
spack-4288639770b43ba9af78cd2507a2a88dec3322c2.tar.xz
spack-4288639770b43ba9af78cd2507a2a88dec3322c2.zip
concretizer: mark depends_on/2 defined for solves without dependencies.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/solver/concretize.lp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/spack/spack/solver/concretize.lp b/lib/spack/spack/solver/concretize.lp
index bb4b22897f..9dc2efd7bd 100644
--- a/lib/spack/spack/solver/concretize.lp
+++ b/lib/spack/spack/solver/concretize.lp
@@ -20,6 +20,9 @@
% dependencies imply new nodes.
node(D) :- node(P), depends_on(P, D).
+% do not warn for solves with no dependencies
+#defined depends_on/2.
+
%-----------------------------------------------------------------------------
% Variant semantics
%-----------------------------------------------------------------------------