diff options
author | Raoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk> | 2019-06-28 11:00:20 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-07-11 17:51:03 +0200 |
commit | 2a26d8a7020644fe95929aa5fc142ca2977cee03 (patch) | |
tree | 862c5c1cf8b517426bb47c97a442c542f9a646d9 /src/buildstream/_stream.py | |
parent | b7ab32fe907ebc1cab6b0ef9809a2c90df92f7cb (diff) | |
download | buildstream-2a26d8a7020644fe95929aa5fc142ca2977cee03.tar.gz |
_stream.py: Use build_all to determine required artifact files with RE
Part of #1043
Diffstat (limited to 'src/buildstream/_stream.py')
-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 # |