[PATCH] D123481: Do not build with Werror by default (Bazel build)
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 8 16:50:34 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6174568bdc7c: Do not build with Werror by default (Bazel build) (authored by mehdi_amini).
Changed prior to commit:
https://reviews.llvm.org/D123481?vs=429650&id=474112#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123481/new/
https://reviews.llvm.org/D123481
Files:
utils/bazel/.bazelrc
Index: utils/bazel/.bazelrc
===================================================================
--- utils/bazel/.bazelrc
+++ utils/bazel/.bazelrc
@@ -47,8 +47,8 @@
# C++17 standard version is required.
build:generic_clang --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
-# Use `-Wall` and `-Werror` for Clang.
-build:generic_clang --copt=-Wall --copt=-Werror --host_copt=-Wall --host_copt=-Werror
+# Use `-Wall` for Clang.
+build:generic_clang --copt=-Wall --host_copt=-Wall
# The Clang available on MacOS has a warning that isn't clean on MLIR code. The
# warning doesn't show up with more recent Clangs, so just disable for now.
@@ -88,9 +88,6 @@
build:generic_gcc --copt=-Wno-maybe-uninitialized --host_copt=-Wno-maybe-uninitialized
build:generic_gcc --copt=-Wno-misleading-indentation --host_copt=-Wno-misleading-indentation
-# Use `-Werror` for GCC to make sure warnings don't slip past.
-build:generic_gcc --copt=-Werror --host_copt=-Werror
-
###############################################################################
# Generic Windows flags common to both MSVC and Clang.
###############################################################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123481.474112.patch
Type: text/x-patch
Size: 1176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221109/5f105681/attachment.bin>
More information about the llvm-commits
mailing list