summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-02-18 13:49:06 +0100
committerJürg Billeter <j@bitron.ch>2018-02-18 13:50:31 +0100
commitd02151fe9ee2a219104b9fad6004ff54e2bd45bf (patch)
treefb7000fa76a1ed03917b22638886c191472d3b95
parented546aab087e19a898b9aaeb17c5ca4c986cebbc (diff)
downloadbuildstream-cache-key-v0.tar.gz
Revert "element.py: Consider execution environment in cache key"cache-key-v0
This reverts commit 5c6cfe10274b6588d8bbc785574d215a35305d80.
-rw-r--r--buildstream/element.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 86cac5676..9b2354698 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -919,22 +919,12 @@ class Element(Plugin):
context = self._get_context()
project = self._get_project()
- operating_system, _, _, _, machine_arch = os.uname()
-
self.__cache_key_dict = {
'artifact-version': "{}.{}".format(_BST_CORE_ARTIFACT_VERSION,
self.BST_ARTIFACT_VERSION),
'context': context._get_cache_key(),
'project': project._get_cache_key(),
'element': self.get_unique_key(),
-
- # The execution environment may later be delegated
- # to sandboxes which support virtualization
- #
- 'execution-environment': {
- 'os': operating_system,
- 'arch': machine_arch
- },
'environment': cache_env,
'sources': [s._get_unique_key() for s in self.__sources],
'public': self.__public,