diff options
-rw-r--r-- | src/buildstream/buildelement.py | 5 | ||||
-rw-r--r-- | src/buildstream/scriptelement.py | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/buildstream/buildelement.py b/src/buildstream/buildelement.py index 6020e67db..5554e7fb2 100644 --- a/src/buildstream/buildelement.py +++ b/src/buildstream/buildelement.py @@ -279,8 +279,9 @@ class BuildElement(Element): # sorted_locations = sorted(self.__layout) for location in sorted_locations: - element_list = [element for element, _ in self.__layout[location]] - self.stage_dependency_artifacts(sandbox, element_list, path=location) + with self.timed_activity("Staging dependencies at: {}".format(location), silent_nested=True): + element_list = [element for element, _ in self.__layout[location]] + self.stage_dependency_artifacts(sandbox, element_list, path=location) # Now integrate any elements staged in the root # diff --git a/src/buildstream/scriptelement.py b/src/buildstream/scriptelement.py index 0a3a4d3dc..3b642056e 100644 --- a/src/buildstream/scriptelement.py +++ b/src/buildstream/scriptelement.py @@ -232,8 +232,9 @@ class ScriptElement(Element): sorted_locations = sorted(self.__layout) for location in sorted_locations: - element_list = [element for element, _ in self.__layout[location]] - self.stage_dependency_artifacts(sandbox, element_list, path=location) + with self.timed_activity("Staging dependencies at: {}".format(location), silent_nested=True): + element_list = [element for element, _ in self.__layout[location]] + self.stage_dependency_artifacts(sandbox, element_list, path=location) # Now integrate any elements staged in the root # |