Skip to content

Commit

Permalink
[WIP] Drastically reduce Windows build log size
Browse files Browse the repository at this point in the history
  • Loading branch information
fhanau committed May 24, 2023
1 parent 3e7ef62 commit bdb8dca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,10 @@ build:windows --cxxopt='/DWINDOWS_LEAN_AND_MEAN' --host_cxxopt='/DWINDOWS_LEAN_A
# The `/std:c++14` argument is unused during boringssl compilation and we don't
# want a warning when compiling each file.
build:windows --cxxopt='-Wno-unused-command-line-argument' --host_cxxopt='-Wno-unused-command-line-argument'
# This warning triggers on anything V8-related, causing the CI error log to be incredibly bloated.
# V8's bazel does disable it for clang-based toolchains, but unfortunately the Windows setup is not
# being detected as clang...
# TODO: Make this a patch for V8 `bazel/defs.bzl`? Submit to V8?
build:windows --cxxopt='-Wno-invalid-offsetof' --host_cxxopt='-Wno-invalid-offsetof'

build:windows --@capnp-cpp//src/kj:openssl=True --@capnp-cpp//src/kj:zlib=True

0 comments on commit bdb8dca

Please # to comment.