mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
quote all of the regular expressions
Summary: Without the quote, the \ is not properly forwarded to Bazel. Test Plan: Verify subcommands. Reviewers: seemethere Subscribers: Tasks: Tags: Pull Request resolved: https://github.com/pytorch/pytorch/pull/79312 Approved by: https://github.com/malfet, https://github.com/seemethere
This commit is contained in:
committed by
PyTorch MergeBot
parent
3ac27bb6ad
commit
8b03f2a93a
6
.bazelrc
6
.bazelrc
@ -49,11 +49,11 @@ build:cpu-only --@rules_cuda//cuda:enable_cuda=False
|
||||
# On the bright side, this means we don't have to more broadly apply
|
||||
# the exceptions to an entire target.
|
||||
build --per_file_copt='^//.*\.(cpp|cc)$'@-Werror=type-limits
|
||||
build --per_file_copt=^//.*\.cu$@--compiler-options=-Werror=type-limits
|
||||
build --per_file_copt='^//.*\.cu$'@--compiler-options=-Werror=type-limits
|
||||
build --per_file_copt='^//.*\.(cpp|cc)$'@-Werror=unused-function
|
||||
build --per_file_copt=^//.*\.cu$@--compiler-options=-Werror=unused-function
|
||||
build --per_file_copt='^//.*\.cu$'@--compiler-options=-Werror=unused-function
|
||||
build --per_file_copt='^//.*\.(cpp|cc)$'@-Werror=unused-variable
|
||||
build --per_file_copt=^//.*\.cu$@--compiler-options=-Werror=unused-variable
|
||||
build --per_file_copt='^//.*\.cu$'@--compiler-options=-Werror=unused-variable
|
||||
|
||||
build --per_file_copt=//:aten/src/ATen/RegisterCompositeExplicitAutograd.cpp@-Wno-error=unused-function
|
||||
build --per_file_copt=//:aten/src/ATen/RegisterCompositeImplicitAutograd.cpp@-Wno-error=unused-function
|
||||
|
Reference in New Issue
Block a user