summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-07-04 11:05:45 +0200
committerJürg Billeter <j@bitron.ch>2017-07-04 11:05:45 +0200
commit40e9d16dce74bdf3abb8728fcd976fe80b3d1df3 (patch)
tree5f73837e25adb871e70edf6e16bdf73ed88ca1e4
parent17f8bf80403b02262a35362da80a0ec379425eda (diff)
downloadbuildstream-40e9d16dce74bdf3abb8728fcd976fe80b3d1df3.tar.gz
element.py: Fix dependency handling in cache key calculation
Runtime dependencies of build dependencies can affect the build process. This reverts commit b0a196a8cb34964e7c0af2fa74c8ada8bc0408c8.
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 35edba1b9..6e51da9d9 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -692,7 +692,7 @@ class Element(Plugin):
# No cache keys for dependencies which have no cache keys
dependencies = [
- e._get_cache_key() for e in self.dependencies(Scope.BUILD, recurse=False)
+ e._get_cache_key() for e in self.dependencies(Scope.BUILD)
]
for dep in dependencies:
if dep is None: