summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/buildelement.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/buildstream/buildelement.py b/buildstream/buildelement.py
index 3e7335b37..613f4c0f0 100644
--- a/buildstream/buildelement.py
+++ b/buildstream/buildelement.py
@@ -68,13 +68,15 @@ class BuildElement(Element):
def assemble(self, sandbox):
# Stage deps in the sandbox root
- for dep in self.dependencies(Scope.BUILD):
- dep.stage(sandbox)
+ with self.timed_activity("Staging dependencies", silent_nested=True):
+ for dep in self.dependencies(Scope.BUILD):
+ dep.stage(sandbox)
# Run any integration commands provided by the dependencies
# once they are all staged and ready
- for dep in self.dependencies(Scope.BUILD):
- dep.integrate(sandbox)
+ with self.timed_activity("Integrating sandbox", silent_nested=True):
+ for dep in self.dependencies(Scope.BUILD):
+ dep.integrate(sandbox)
# Stage sources in /buildstream/build
self.stage_sources(sandbox, '/buildstream/build')