diff options
author | Jürg Billeter <j@bitron.ch> | 2020-09-14 12:05:12 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-09-14 17:39:17 +0200 |
commit | fdca4c15e314dcf75d05e652798b43948598a012 (patch) | |
tree | 0e50bf62fc62b5584defe7420493c006132e5b7e /src/buildstream/_pipeline.py | |
parent | 9c1dcc068b49a2cabfa925c5a5f75b390883da15 (diff) | |
download | buildstream-juerg/cache-query-wip.tar.gz |
Diffstat (limited to 'src/buildstream/_pipeline.py')
-rw-r--r-- | src/buildstream/_pipeline.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buildstream/_pipeline.py b/src/buildstream/_pipeline.py index 77b3c24e0..cf31608fa 100644 --- a/src/buildstream/_pipeline.py +++ b/src/buildstream/_pipeline.py @@ -119,7 +119,7 @@ class Pipeline: # We may already have Elements which are cached and have their runtimes # cached, if this is the case, we should immediately notify their reverse # dependencies. - element._update_ready_for_runtime_and_cached() + # element._update_ready_for_runtime_and_cached() if task: task.add_current_progress() @@ -477,7 +477,7 @@ class _Planner: self.plan_element(dep, depth) # Dont try to plan builds of elements that are cached already - if not element._cached_success(): + if True or not element._cached_success(): for dep in element._dependencies(_Scope.BUILD, recurse=False): self.plan_element(dep, depth + 1) @@ -494,4 +494,5 @@ class _Planner: for index, item in enumerate(depth_sorted): item[0]._set_depth(index) - return [item[0] for item in depth_sorted if plan_cached or not item[0]._cached_success()] + # return [item[0] for item in depth_sorted if plan_cached or not item[0]._cached_success()] + return [item[0] for item in depth_sorted] |