diff --git a/utils/bazel/.bazelrc b/utils/bazel/.bazelrc --- a/utils/bazel/.bazelrc +++ b/utils/bazel/.bazelrc @@ -34,8 +34,8 @@ # C++14 standard version is required. build:generic_clang --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 -# 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. @@ -71,9 +71,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. ###############################################################################