Skip to content

Commit

Permalink
Bazel: Use --remote_download_minimal to improve remote cache usage in…
Browse files Browse the repository at this point in the history
… CI builds

See https://blog.bazel.build/2023/10/06/bwob-in-bazel-7.html

PiperOrigin-RevId: 572664965
Change-Id: I75ca69302b719c16cde778daa1c3e3b71f8faf71
  • Loading branch information
derekmauro authored and copybara-github committed Oct 11, 2023
1 parent b67b083 commit 8b2ed9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/linux_clang-latest_libcxx_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ for std in ${STD}; do
--define="absl=1" \
--distdir="/bazel-distdir" \
--keep_going \
--remote_download_minimal \
--show_timestamps \
--test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" \
--test_output=errors \
Expand Down
1 change: 1 addition & 0 deletions ci/linux_clang-latest_libstdcxx_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ for std in ${STD}; do
--distdir="/bazel-distdir" \
--keep_going \
--linkopt="--gcc-toolchain=/usr/local" \
--remote_download_minimal \
--show_timestamps \
--test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" \
--test_env="TZDIR=/abseil-cpp/absl/time/internal/cctz/testdata/zoneinfo" \
Expand Down
1 change: 1 addition & 0 deletions ci/linux_gcc-latest_libstdcxx_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ for std in ${STD}; do
--distdir="/bazel-distdir" \
--keep_going \
--experimental_ui_max_stdouterr_bytes=-1 \
--remote_download_minimal \
--show_timestamps \
--test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" \
--test_output=errors \
Expand Down

0 comments on commit 8b2ed9a

Please sign in to comment.