Skip to content

Commit

Permalink
Remove --copt="-Werror" from .bazelrc (#18392)
Browse files Browse the repository at this point in the history
This appears to be causing a bunch of errors during our release process,
but I don't think it's critical to have this flag in `.bazelrc`. We
should still be able to get about the same test coverage since we also
set `-Werror` in the `bazelrc` files in the `ci/` directory.

PiperOrigin-RevId: 672673187

Co-authored-by: Adam Cozzette <[email protected]>
  • Loading branch information
zhangskz and acozzette authored Sep 18, 2024
1 parent d6c82fc commit 6481fec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17

build --copt="-Werror" --copt="-Wno-sign-compare" --copt="-Wno-sign-conversion" --copt="-Wno-error=sign-conversion" --copt="-Wno-deprecated-declarations"


build:dbg --compilation_mode=dbg

build:opt --compilation_mode=opt
Expand Down

0 comments on commit 6481fec

Please sign in to comment.