summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-11-03 12:20:14 +0100
committerJavier Jardón <jjardon@gnome.org>2020-07-30 10:22:53 +0000
commit6706d3c64c9cef1f7ee43978aa84f484c55cea1e (patch)
tree9a3f686d2f6b386004a8e32e57c09b5e08f6a7f1
parent9a145fed81eaa4487a6789c442be4ec8cb26f513 (diff)
downloadbuildstream-6706d3c64c9cef1f7ee43978aa84f484c55cea1e.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 5c8a8d604..af0c1a27c 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1994,7 +1994,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)