diff --git a/utils/bazel/.bazelrc b/utils/bazel/.bazelrc --- a/utils/bazel/.bazelrc +++ b/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. ###############################################################################