summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-07-18 11:16:25 +0200
committerJürg Billeter <j@bitron.ch>2017-07-20 07:24:56 +0200
commit9f6f1034c160d20249f0710a804ca67bcd091a23 (patch)
tree188837673693eb4b1894f7af4716036cfccff192
parent9f21143fd01d8e14fd4a6c4de540adc7040b7ee8 (diff)
downloadbuildstream-9f6f1034c160d20249f0710a804ca67bcd091a23.tar.gz
_pipeline.py: Use _remotely_cached()
-rw-r--r--buildstream/_pipeline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index 251b8680a..269a6f482 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -79,7 +79,7 @@ class Planner():
self.plan_element(dep, depth)
# Dont try to plan builds of elements that are cached already
- if not element._cached():
+ if not element._cached() and not element._remotely_cached():
for dep in element.dependencies(Scope.BUILD, recurse=False):
self.plan_element(dep, depth + 1)