diff options
author | Jürg Billeter <j@bitron.ch> | 2018-02-18 13:49:06 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-02-18 13:50:31 +0100 |
commit | d02151fe9ee2a219104b9fad6004ff54e2bd45bf (patch) | |
tree | fb7000fa76a1ed03917b22638886c191472d3b95 /buildstream/element.py | |
parent | ed546aab087e19a898b9aaeb17c5ca4c986cebbc (diff) | |
download | buildstream-d02151fe9ee2a219104b9fad6004ff54e2bd45bf.tar.gz |
Revert "element.py: Consider execution environment in cache key"cache-key-v0
This reverts commit 5c6cfe10274b6588d8bbc785574d215a35305d80.
Diffstat (limited to 'buildstream/element.py')
-rw-r--r-- | buildstream/element.py | 10 |
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, |