summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-11-03 12:20:14 +0100
committerJürg Billeter <j@bitron.ch>2018-11-05 17:18:12 +0000
commite398f877ab2cb41e7fa531fd71ad9b503fbbedac (patch)
tree1aa79a251df3e69f860c702062a60ffcebe3e929
parentf69b1117c22e4808e64d5dd9891d45cb6e6932b9 (diff)
downloadbuildstream-e398f877ab2cb41e7fa531fd71ad9b503fbbedac.tar.gz
element.py: Do not include type name of artifact cache in cache key
The artifact cache backend does not affect build outputs and we anyway no longer have pluggable artifact cache backends. This hardcodes CASCache instead of removing the entry completely to avoid cache key changes.
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 05da2fb4f..8ec06090c 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -2056,7 +2056,7 @@ class Element(Plugin):
'sources': [s._get_unique_key(workspace is None) for s in self.__sources],
'workspace': '' if workspace is None else workspace.get_key(self._get_project()),
'public': self.__public,
- 'cache': type(self.__artifacts).__name__
+ 'cache': 'CASCache'
}
self.__cache_key_dict['fatal-warnings'] = sorted(project._fatal_warnings)