diff options
author | Jürg Billeter <j@bitron.ch> | 2020-04-13 14:01:35 +0200 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-04-16 16:48:49 +0000 |
commit | 2d66d5b40886a675629ff7c40da7ea50e3340e96 (patch) | |
tree | 65ca27172370c5ee739bf60ca137645293167be3 /src/buildstream | |
parent | 431cd16a997a4f548d2f262031f8eefc947158e7 (diff) | |
download | buildstream-2d66d5b40886a675629ff7c40da7ea50e3340e96.tar.gz |
element.py: Fix strong cache key calculation in non-strict mode
The algorithm for calculating the strong cache key should be identical
in strict and non-strict mode.
Diffstat (limited to 'src/buildstream')
-rw-r--r-- | src/buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 06581b652..d789e9541 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -3119,7 +3119,7 @@ class Element(Plugin): self.__cache_key = strong_key elif self.__assemble_scheduled or self.__assemble_done: # Artifact will or has been built, not downloaded - dependencies = [e._get_cache_key() for e in self.dependencies(Scope.BUILD)] + dependencies = [[e.project_name, e.name, e._get_cache_key()] for e in self.dependencies(Scope.BUILD)] self.__cache_key = self._calculate_cache_key(dependencies) if self.__cache_key is None: |