diff options
author | Derek Mauro <dmauro@google.com> | 2024-06-24 11:08:50 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-06-24 11:09:36 -0700 |
commit | 72dde9873a59588739ea970fd10bdded999d4f67 (patch) | |
tree | 018bc3685ed5503c3f15e5b06746d6ec5997b4a2 /ci | |
parent | 74f8c1eae915f90724595912afefc9a567fcaaf5 (diff) | |
download | abseil-72dde9873a59588739ea970fd10bdded999d4f67.tar.gz abseil-72dde9873a59588739ea970fd10bdded999d4f67.tar.bz2 abseil-72dde9873a59588739ea970fd10bdded999d4f67.zip |
Add a compile test for headers that require C compatibility
windows_clangcl_bazel.bat includes a change from --copt to --cxxopt to
only pass /std:c++XX to C++ compiles
PiperOrigin-RevId: 646157298
Change-Id: Ib6d9861a2b2d45eb0d664f23b6f3a7426f8e0ab3
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/windows_clangcl_bazel.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/windows_clangcl_bazel.bat b/ci/windows_clangcl_bazel.bat index ac2f9167..b031c30d 100755 --- a/ci/windows_clangcl_bazel.bat +++ b/ci/windows_clangcl_bazel.bat @@ -43,9 +43,9 @@ IF NOT "%ALTERNATE_OPTIONS%"=="" copy %ALTERNATE_OPTIONS% absl\base\options.h test ... ^ --compilation_mode=%COMPILATION_MODE% ^ --compiler=clang-cl ^ - --copt=/std:%STD% ^ --copt=/WX ^ --copt=-Wno-microsoft-cast ^ + --cxxopt=/std:%STD% ^ --define=absl=1 ^ --distdir=%KOKORO_GFILE_DIR%\distdir ^ --enable_bzlmod=true ^ |