提交 8a48545b 编辑于 作者: Michael Reneer's avatar Michael Reneer 提交者: tensorflow-copybara
浏览文件

Update Bazel configuration to suppress C++ compiler warnings.

PiperOrigin-RevId: 413928110
上级 6a24b11d
......@@ -36,11 +36,11 @@ build --copt=-O3
# C++ compiler options.
build --cxxopt=-std=c++14
build --host_cxxopt=-std=c++14
build --copt=-Wno-ignored-attributes
build --copt=-Wno-missing-field-initializers
build --copt=-Wno-unknown-pragmas
build:linux --copt=-Wno-stringop-truncation
build:linux --copt=-Wno-maybe-uninitialized
# Suppress C++ compiler warnings.
build:linux --copt=-w
build:linux --host_copt=-w
build:macos --copt=-w
# gRPC on MacOS requires this define, see
# https://github.com/bazelbuild/bazel/issues/4341#issuecomment-572050759 for
......
Supports Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册