You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 07:23:44 UTC

[buildstream] 03/03: Revert "element.py: Consider execution environment in cache key"

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch cache-key-v0
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit d02151fe9ee2a219104b9fad6004ff54e2bd45bf
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Sun Feb 18 13:49:06 2018 +0100

    Revert "element.py: Consider execution environment in cache key"
    
    This reverts commit 5c6cfe10274b6588d8bbc785574d215a35305d80.
---
 buildstream/element.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/buildstream/element.py b/buildstream/element.py
index 86cac56..9b23546 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,