summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-08-31 13:28:28 +0300
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-08-31 15:05:52 +0300
commit0ca33d853ec19ce8243e45295cc1acaed3724614 (patch)
tree801380224a567db1ce710c01e98e77ee92c170f9
parentf3baddd706c90d0e9406eee30bf4304ad3e53ea3 (diff)
downloadbuildstream-0ca33d853ec19ce8243e45295cc1acaed3724614.tar.gz
element.py: Use recursive element names for strict rebuild dependencies
As discussed with Jürg on gitlab[0], it makes more sense to store the recursive element names and record the shape of the dependencies for non strict cache keys as well as strict ones. [0]: https://gitlab.com/BuildStream/buildstream/merge_requests/1542#note_205598556
-rw-r--r--src/buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 10c8320fa..837ad2fd6 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -3116,7 +3116,7 @@ class Element(Plugin):
]
else:
dependencies = [
- [e.project_name, e.name] for e in self.dependencies(Scope.BUILD, recurse=False)
+ [e.project_name, e.name] for e in self.dependencies(Scope.BUILD)
]
self.__weak_cache_key = self._calculate_cache_key(dependencies)