From df1ef27e6af58bd01ca70ec8da6742fb853d1ebe Mon Sep 17 00:00:00 2001 From: Ivan Murashko Date: Thu, 16 Jun 2022 17:01:17 +0000 Subject: [PATCH] [AutoAccept][Codemod][FBSourceBuckFormatLinter] Daily `arc lint --take BUCKFORMAT` (#79692) Reviewed By: ivanmurashko Differential Revision: D37203030 Pull Request resolved: https://github.com/pytorch/pytorch/pull/79692 Approved by: https://github.com/mehtanirav --- tools/rules/cu.bzl | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/rules/cu.bzl b/tools/rules/cu.bzl index 4ba53910a4ca..8e137f63304c 100644 --- a/tools/rules/cu.bzl +++ b/tools/rules/cu.bzl @@ -3,7 +3,6 @@ load("@rules_cuda//cuda:defs.bzl", "cuda_library") NVCC_COPTS = [ "--expt-relaxed-constexpr", "--expt-extended-lambda", - "--compiler-options=-Werror=all", # The following warnings come from -Wall. We downgrade them from # error to warnings here. @@ -14,7 +13,6 @@ NVCC_COPTS = [ "--compiler-options=-Wno-sign-compare", # We intentionally use #pragma unroll, which is compiler specific. "--compiler-options=-Wno-error=unknown-pragmas", - "--compiler-options=-Werror=extra", # The following warnings come from -Wextra. We downgrade them from # error to warnings here.