Skip to content

Commit 49d5422

Browse files
committed
Run selective build CI test with more restrictions
Revert reason for #14487 was that internal tests were running with "-Werror,-Wunused-variable" option but not OSS tests
1 parent c9f46e2 commit 49d5422

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codegen/tools/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) Meta Platforms, Inc. and affiliates.
1+
gi# Copyright (c) Meta Platforms, Inc. and affiliates.
22
# All rights reserved.
33
#
44
# This source code is licensed under the BSD-style license found in the
@@ -25,6 +25,7 @@ target_include_directories(
2525
# Compile options
2626
target_compile_options(
2727
selective_build PUBLIC -Wno-deprecated-declarations -fPIC -frtti -fexceptions
28+
-Werror -Wunused-variable
2829
)
2930

3031
# Link against required libraries

0 commit comments

Comments
 (0)