diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildstream/_stream.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py index 7e68f1afd..9a400933c 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -272,8 +272,10 @@ class Stream(): # Remote execution is configured for all projects. # Require artifact files only for target elements and their runtime dependencies. self._context.set_artifact_files_optional() + + scope = Scope.ALL if build_all else Scope.RUN for element in self.targets: - element._set_artifact_files_required() + element._set_artifact_files_required(scope=scope) # Now construct the queues # |