Skip to content

Commit

Permalink
Enable --nolegacy_important_outputs
Browse files Browse the repository at this point in the history
BuildBuddy suggests this to Significantly reduce the payload size of the uploaded build event stream by eliminating duplicate file references.

Signed-off-by: Matt Robinson <[email protected]>
  • Loading branch information
mattrobmattrob committed Apr 8, 2024
1 parent 57afd5c commit f155d28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ build:remote_cache --remote_timeout=3600
# https://bazel.build/reference/command-line-reference#flag--experimental_remote_cache_compression
build:remote_cache --experimental_remote_cache_compression

# Significantly reduce the payload size of the uploaded build event
# stream by eliminating duplicate file references
build --nolegacy_important_outputs

# By default don't upload local results to remote cache, only CI does this.
build --noremote_upload_local_results
build:ci --remote_upload_local_results
Expand Down

0 comments on commit f155d28

Please sign in to comment.