From 950fb0948b6f7159cfd24ada521261581585994a Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 13 Dec 2020 17:17:26 -0800 Subject: [PATCH] concretizer: add #defined statements to avoid warnings. `version_satisfies/2` and `node_compiler_version_satisfies/3` are generated but need `#defined` directives to avoid " info: atom does not occur in any rule head:" warnings. --- lib/spack/spack/solver/concretize.lp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/spack/spack/solver/concretize.lp b/lib/spack/spack/solver/concretize.lp index 7c94b7a8a4..0affb9f297 100644 --- a/lib/spack/spack/solver/concretize.lp +++ b/lib/spack/spack/solver/concretize.lp @@ -139,6 +139,8 @@ path(Parent, Descendant) :- path(Parent, A), depends_on(A, Descendant). #defined external_only/1. #defined pkg_provider_preference/4. #defined default_provider_preference/3. +#defined version_satisfies/2. +#defined node_compiler_version_satisfies/3. #defined root/1. %-----------------------------------------------------------------------------