Skip to content

Commit

Permalink
Remove useless rule
Browse files Browse the repository at this point in the history
The version_equivalent fact was deleted in spack#36347,
but the corresponding rule was not removed.
  • Loading branch information
alalazo committed Aug 7, 2023
1 parent b72e7aa commit f75f580
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/spack/spack/solver/concretize.lp
Expand Up @@ -82,11 +82,6 @@ facts(Package, version_declared(Version, Weight)) :- facts(Package, version_decl
% versions are declared w/priority -- declared with priority implies declared
facts(Package, version_declared(Version)) :- facts(Package, version_declared(Version, _)).

% a spec with a git hash version is equivalent to one with the same matched version
version_satisfies(Package, Constraint, HashVersion) :- version_satisfies(Package, Constraint, EquivalentVersion),
version_equivalent(Package, HashVersion, EquivalentVersion).
#defined version_equivalent/3.

% If something is a package, it has only one version and that must be a
% declared version.
% We allow clingo to choose any version(s), and infer an error if there
Expand Down

0 comments on commit f75f580

Please sign in to comment.