diff options
author | Derek Mauro <dmauro@google.com> | 2024-01-09 09:57:27 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-01-09 09:58:40 -0800 |
commit | 19599937197b3506c3bdd2e81dc185141b6f436c (patch) | |
tree | 925fc01c4949269f1155f4701d3cecb13c129d9e /ci/windows_clangcl_bazel.bat | |
parent | 6d21df714aa6a2ab2fc4029ca71dcff2daa03ca1 (diff) | |
download | abseil-19599937197b3506c3bdd2e81dc185141b6f436c.tar.gz abseil-19599937197b3506c3bdd2e81dc185141b6f436c.tar.bz2 abseil-19599937197b3506c3bdd2e81dc185141b6f436c.zip |
Update Windows and MacOS CI builds to Bazel 7.0.0
This changes the way in which clang-cl is selected on Windows
as it has changed:
https://bazel.build/configure/windows#clang
--features=external_include_paths has been removed from Windows builds
since it appears cause build command errors currently
PiperOrigin-RevId: 596965732
Change-Id: I95b636a9a4fdcc4172c3bb8c6cb28d5f7db592c9
Diffstat (limited to 'ci/windows_clangcl_bazel.bat')
-rwxr-xr-x | ci/windows_clangcl_bazel.bat | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/windows_clangcl_bazel.bat b/ci/windows_clangcl_bazel.bat index 21230e1f..246b733b 100755 --- a/ci/windows_clangcl_bazel.bat +++ b/ci/windows_clangcl_bazel.bat @@ -39,7 +39,7 @@ IF NOT "%ALTERNATE_OPTIONS%"=="" copy %ALTERNATE_OPTIONS% absl\base\options.h :: /google/data/rw/teams/absl/kokoro/windows. :: :: TODO(absl-team): Remove -Wno-microsoft-cast -%KOKORO_GFILE_DIR%\bazel-5.1.1-windows-x86_64.exe ^ +%KOKORO_GFILE_DIR%\bazel-7.0.0-windows-x86_64.exe ^ test ... ^ --compilation_mode=%COMPILATION_MODE% ^ --compiler=clang-cl ^ @@ -48,7 +48,9 @@ IF NOT "%ALTERNATE_OPTIONS%"=="" copy %ALTERNATE_OPTIONS% absl\base\options.h --copt=-Wno-microsoft-cast ^ --define=absl=1 ^ --distdir=%KOKORO_GFILE_DIR%\distdir ^ - --features=external_include_paths ^ + --enable_bzlmod=false ^ + --extra_execution_platforms=//absl:x64_windows-clang-cl ^ + --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl ^ --keep_going ^ --test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" ^ --test_env=TZDIR="%CD%\absl\time\internal\cctz\testdata\zoneinfo" ^ |