-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
enhancementNew feature or requestNew feature or request
Description
There's a strategy discussed on the bazelbuild community slack for suppressing warnings in external dependencies that works like this:
Add these lines to .bazelrc to disable warnings both remote and local
build --features=suppress_warnings build --features=swift.suppress_warningsthen add these lines to REPO.bazel to re-enable warnings for in-repo files
repo( features = [ "-suppress_warnings", "-swift.suppress_warnings", ], )
This works, but is an all-or-nothing approach.
One can also disable warnings on a specific repo by using a patch, but this is cumbersome to create. It would be nice to be able to suppress warnings at a package level more conveniently, perhaps using configure_package.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request