1
0
Fork 0

[Bazel] Explicitly build with -Werror

In https://reviews.llvm.org/D123481 we're removing this from the
default builds, but we still want it in CI builds where we know the
platform and compiler configuration.
This commit is contained in:
Geoffrey Martin-Noble 2022-05-12 14:49:02 -07:00 committed by Mikhail Goncharov
parent 18227f403b
commit fbffc10faf

View file

@ -100,7 +100,7 @@ def bazel(modified_files: Set[str], force: bool = False) -> List:
'commands': [ 'commands': [
'set -eu', 'set -eu',
'cd utils/bazel', 'cd utils/bazel',
'bazel query //... + @llvm-project//... | xargs bazel test --config=generic_clang --config=rbe --test_output=errors --test_tag_filters=-nobuildkite --build_tag_filters=-nobuildkite', 'bazel query //... + @llvm-project//... | xargs bazel test --config=generic_clang --config=rbe --copt=-Werror --host_copt=-Werror --test_output=errors --test_tag_filters=-nobuildkite --build_tag_filters=-nobuildkite',
], ],
'agents': agents, 'agents': agents,
'timeout_in_minutes': 120, 'timeout_in_minutes': 120,