summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-10-29 19:00:02 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2021-11-05 00:15:47 -0700
commit0d74a4f46e6f0c46d42574c989d842998ccd94a4 (patch)
tree837d28111757d870e246835a6c062eb68b87f320
parent0b80035eaa05d5b0fa3841ef45e50a5fd9dbd433 (diff)
downloadspack-0d74a4f46e6f0c46d42574c989d842998ccd94a4.tar.gz
spack-0d74a4f46e6f0c46d42574c989d842998ccd94a4.tar.bz2
spack-0d74a4f46e6f0c46d42574c989d842998ccd94a4.tar.xz
spack-0d74a4f46e6f0c46d42574c989d842998ccd94a4.zip
Trim dependencies on externals
-rw-r--r--lib/spack/spack/solver/concretize.lp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/solver/concretize.lp b/lib/spack/spack/solver/concretize.lp
index 32a84e6d5e..da404710a4 100644
--- a/lib/spack/spack/solver/concretize.lp
+++ b/lib/spack/spack/solver/concretize.lp
@@ -107,7 +107,8 @@ dependency_holds(Package, Dependency, Type) :-
dependency_condition(ID, Package, Dependency),
dependency_type(ID, Type),
condition_holds(ID),
- build(Package).
+ build(Package),
+ not external(Package).
% We cut off dependencies of externals (as we don't really know them).
% Don't impose constraints on dependencies that don't exist.