summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-07 20:48:57 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-05 23:57:31 +0900
commitc05eec40cc3471554f5cc2306ac7d62c76056520 (patch)
tree8b07ea4107ebb237ca6052ee27d2e7922936dcea
parentb7e9a642e1cfd60d9dede6d6b11dd73d19b88fa3 (diff)
downloadbuildstream-c05eec40cc3471554f5cc2306ac7d62c76056520.tar.gz
context.py: Removing arches
-rw-r--r--buildstream/context.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/buildstream/context.py b/buildstream/context.py
index 2a503574b..a644da281 100644
--- a/buildstream/context.py
+++ b/buildstream/context.py
@@ -48,17 +48,11 @@ class Context():
Context of how BuildStream was invoked
"""
- def __init__(self, cli_options, host_arch, target_arch=None):
+ def __init__(self, cli_options):
self.config_origin = None
"""Filename indicating which configuration file was used, or None for the defaults"""
- self.host_arch = host_arch
- """The desired architecture on which to run the build"""
-
- self.target_arch = target_arch or host_arch
- """The machine on which the results of the build should execute"""
-
self.strict_build_plan = None
"""Whether elements must be rebuilt when their dependencies have changed"""
@@ -273,10 +267,7 @@ class Context():
if self._cache_key is None:
# Anything that alters the build goes into the unique key
- self._cache_key = utils._generate_key({
- 'host-arch': self.host_arch,
- 'target-arch': self.target_arch
- })
+ self._cache_key = utils._generate_key({})
return self._cache_key