diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-08-31 15:22:00 +0300 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-08-31 15:22:00 +0300 |
commit | 39148926f39f393977c69819b3190a69154e5d07 (patch) | |
tree | a34ffe3bfd3e89a21699a7443cd2e993d5bc784a | |
parent | 235ed63a69d247218448b76f603a17652c7f0d09 (diff) | |
download | buildstream-39148926f39f393977c69819b3190a69154e5d07.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-- | buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 5f0e300e1..ff0fcd8d9 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -1077,7 +1077,7 @@ class Element(Plugin): ] else: dependencies = [ - e.name for e in self.dependencies(Scope.BUILD, recurse=False) + e.name for e in self.dependencies(Scope.BUILD) ] self.__weak_cache_key = self.__calculate_cache_key(dependencies) |