Skip to content

Commit

Permalink
Don't print warnings from 3rd party libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Dec 21, 2024
1 parent 36f7c2b commit 462c75f
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 @@ -19,6 +19,11 @@ build --cxxopt=-Wno-unused-parameter --host_cxxopt=-Wno-unused-parameter
build --cxxopt=-fno-exceptions --host_cxxopt=-fno-exceptions
build --cxxopt=-fno-rtti --host_cxxopt=-fno-rtti

# For 3rd party code: Disable warnings entirely.
# They are not actionable and just create noise.
build --per_file_copt=external/.*@-w
build --host_per_file_copt=external/.*@-w

# Platform specific options.
build --enable_platform_specific_config
build:macos --macos_minimum_os=10.15
Expand Down

0 comments on commit 462c75f

Please sign in to comment.