File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ cmake_install_executorch_lib() {
15
15
echo " Installing libexecutorch.a"
16
16
clean_executorch_install_folders
17
17
18
- CXXFLAGS=" -fno-exceptions -fno-rtti" retry cmake -DBUCK2=" $BUCK2 " \
18
+ CXXFLAGS=" -fno-exceptions -fno-rtti -Wall -Werror " retry cmake -DBUCK2=" $BUCK2 " \
19
19
-DCMAKE_CXX_STANDARD_REQUIRED=ON \
20
20
-DCMAKE_INSTALL_PREFIX=cmake-out \
21
21
-DCMAKE_BUILD_TYPE=Release \
@@ -27,7 +27,7 @@ cmake_install_executorch_lib() {
27
27
}
28
28
29
29
test_cmake_size_test () {
30
- CXXFLAGS=" -fno-exceptions -fno-rtti" retry cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=cmake-out -Bcmake-out/test test
30
+ CXXFLAGS=" -fno-exceptions -fno-rtti -Wall -Werror " retry cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=cmake-out -Bcmake-out/test test
31
31
32
32
echo " Build size test"
33
33
cmake --build cmake-out/test -j9 --config Release
You can’t perform that action at this time.
0 commit comments