diff options
author | Derek Mauro <dmauro@google.com> | 2023-10-12 06:15:01 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-10-12 06:15:42 -0700 |
commit | cb7d5cc8cb837cc7864dd3974f1aa5b3e83cb8ab (patch) | |
tree | 1c0f3914d5e3d917bbef7c3eb7eeb8e67c8458de /ci | |
parent | 8bb4174c348edd966ccd5c7fbfb41e5aa8146f9e (diff) |
Bazel: Use --remote_download_minimal to improve remote cache usage in CI builds
See https://blog.bazel.build/2023/10/06/bwob-in-bazel-7.html
PiperOrigin-RevId: 572883468
Change-Id: Ib6f8665bf28f3973ffa3f932d400636b3b97f08a
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/linux_clang-latest_libcxx_asan_bazel.sh | 1 | ||||
-rwxr-xr-x | ci/linux_clang-latest_libcxx_bazel.sh | 1 | ||||
-rwxr-xr-x | ci/linux_clang-latest_libcxx_tsan_bazel.sh | 1 | ||||
-rwxr-xr-x | ci/linux_clang-latest_libstdcxx_bazel.sh | 1 | ||||
-rwxr-xr-x | ci/linux_gcc-floor_libstdcxx_bazel.sh | 1 | ||||
-rwxr-xr-x | ci/linux_gcc-latest_libstdcxx_bazel.sh | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/ci/linux_clang-latest_libcxx_asan_bazel.sh b/ci/linux_clang-latest_libcxx_asan_bazel.sh index bbdae65c..c5c6ad59 100755 --- a/ci/linux_clang-latest_libcxx_asan_bazel.sh +++ b/ci/linux_clang-latest_libcxx_asan_bazel.sh @@ -89,6 +89,7 @@ for std in ${STD}; do --keep_going \ --linkopt="-fsanitize=address" \ --linkopt="-fsanitize-link-c++-runtime" \ + --remote_download_minimal \ --show_timestamps \ --test_env="ASAN_SYMBOLIZER_PATH=/opt/llvm/clang/bin/llvm-symbolizer" \ --test_env="TZDIR=/abseil-cpp/absl/time/internal/cctz/testdata/zoneinfo" \ diff --git a/ci/linux_clang-latest_libcxx_bazel.sh b/ci/linux_clang-latest_libcxx_bazel.sh index ac4c99ab..cd3e0119 100755 --- a/ci/linux_clang-latest_libcxx_bazel.sh +++ b/ci/linux_clang-latest_libcxx_bazel.sh @@ -89,6 +89,7 @@ for std in ${STD}; do --distdir=\"/bazel-distdir\" \ --features=external_include_paths \ --keep_going \ + --remote_download_minimal \ --show_timestamps \ --test_env=\"GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1\" \ --test_env=\"TZDIR=/abseil-cpp/absl/time/internal/cctz/testdata/zoneinfo\" \ diff --git a/ci/linux_clang-latest_libcxx_tsan_bazel.sh b/ci/linux_clang-latest_libcxx_tsan_bazel.sh index 593ea3e5..bb71cab7 100755 --- a/ci/linux_clang-latest_libcxx_tsan_bazel.sh +++ b/ci/linux_clang-latest_libcxx_tsan_bazel.sh @@ -86,6 +86,7 @@ for std in ${STD}; do --features=external_include_paths \ --keep_going \ --linkopt="-fsanitize=thread" \ + --remote_download_minimal \ --show_timestamps \ --test_env="TSAN_SYMBOLIZER_PATH=/opt/llvm/clang/bin/llvm-symbolizer" \ --test_env="TZDIR=/abseil-cpp/absl/time/internal/cctz/testdata/zoneinfo" \ diff --git a/ci/linux_clang-latest_libstdcxx_bazel.sh b/ci/linux_clang-latest_libstdcxx_bazel.sh index 13d56fc9..f03962d5 100755 --- a/ci/linux_clang-latest_libstdcxx_bazel.sh +++ b/ci/linux_clang-latest_libstdcxx_bazel.sh @@ -84,6 +84,7 @@ for std in ${STD}; do --features=external_include_paths \ --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" \ diff --git a/ci/linux_gcc-floor_libstdcxx_bazel.sh b/ci/linux_gcc-floor_libstdcxx_bazel.sh index 68b39994..440391f0 100755 --- a/ci/linux_gcc-floor_libstdcxx_bazel.sh +++ b/ci/linux_gcc-floor_libstdcxx_bazel.sh @@ -81,6 +81,7 @@ for std in ${STD}; do --distdir="/bazel-distdir" \ --features=external_include_paths \ --keep_going \ + --remote_download_minimal \ --show_timestamps \ --test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" \ --test_env="TZDIR=/abseil-cpp/absl/time/internal/cctz/testdata/zoneinfo" \ diff --git a/ci/linux_gcc-latest_libstdcxx_bazel.sh b/ci/linux_gcc-latest_libstdcxx_bazel.sh index 091acb33..9a052d3c 100755 --- a/ci/linux_gcc-latest_libstdcxx_bazel.sh +++ b/ci/linux_gcc-latest_libstdcxx_bazel.sh @@ -87,6 +87,7 @@ for std in ${STD}; do --distdir=\"/bazel-distdir\" \ --features=external_include_paths \ --keep_going \ + --remote_download_minimal \ --show_timestamps \ --test_env=\"GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1\" \ --test_env=\"TZDIR=/abseil-cpp/absl/time/internal/cctz/testdata/zoneinfo\" \ |