mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
disable warnings for external repositories
Summary: We don't own this code, don't spam our logs with their issues. Test Plan: Verified actions manually with --subcommands. Reviewers: seemethere Subscribers: Tasks: Tags: Pull Request resolved: https://github.com/pytorch/pytorch/pull/79345 Approved by: https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
b370959da1
commit
3db1092da6
4
.bazelrc
4
.bazelrc
@ -31,6 +31,10 @@ build --copt=-isystem --copt=bazel-out/k8-fastbuild-cpu-only/bin
|
||||
# rules_cuda configuration
|
||||
build:cpu-only --@rules_cuda//cuda:enable_cuda=False
|
||||
|
||||
# Disable all warnings for external repositories. We don't care about
|
||||
# their warnings.
|
||||
build --per_file_copt=^external/@-w
|
||||
|
||||
# Set additional warnings to error level.
|
||||
#
|
||||
# Implementation notes:
|
||||
|
Reference in New Issue
Block a user