pytorch/c10
Michael Andreas Dagitses ab2ca95dd1 turn on -Werror=unused-variable in our Bazel CPU build
Summary:
We also fix any existing issues. Note that we only do this for the CPU
build because nvcc is considered a C++ toolchain but it does not have
the same flag support. Adding flags to the GPU build will cause nvcc
errors.

Test Plan: Built locally, rely on CI to confirm.

Reviewers: malfet

Subscribers:

Tasks:

Tags:

Pull Request resolved: https://github.com/pytorch/pytorch/pull/79156

Approved by: https://github.com/seemethere, https://github.com/osalpekar, https://github.com/albanD
2022-06-11 02:46:34 +00:00
..
benchmark [PyTorch] add intrusive_ptr exclusive ownership benchmark 2022-06-10 19:26:28 +00:00
core turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
cuda Pool cudaEvents in CUDACachingAllocator (#78279) 2022-06-07 18:26:45 +00:00
hip Formatting cmake (to lowercase without space for if/elseif/else/endif) (#35521) 2020-03-27 14:25:17 -07:00
macros [PyTorch] Stack-allocate boxed args for RecordFunction 2022-05-24 17:06:40 +00:00
mobile define //c10/mobile targets (#70861) 2022-01-27 07:34:52 +00:00
test turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
util [PyTorch] intrusive_ptr: don't guarantee release_resources will be called 2022-06-10 19:30:35 +00:00
BUCK.oss rename BUILD.buck to BUCK.oss (#78792) 2022-06-03 07:23:16 +00:00
BUILD.bazel extract //c10 to common build system (#71411) 2022-03-02 11:33:22 +00:00
build.bzl extract //c10 to common build system (#71411) 2022-03-02 11:33:22 +00:00
c10_defs.bzl Add all bzl files per D36874458 2022-06-06 09:40:19 -07:00
CMakeLists.txt [c10]Delete non-existent paths (#79187) 2022-06-09 18:06:42 +00:00
defs_hip.bzl Add all bzl files per D36874458 2022-06-06 09:40:19 -07:00
ovrsource_defs.bzl Add all bzl files per D36874458 2022-06-06 09:40:19 -07:00