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() {
1515 echo " Installing libexecutorch.a"
1616 clean_executorch_install_folders
1717
18- CXXFLAGS=" -fno-exceptions -fno-rtti" retry cmake -DBUCK2=" $BUCK2 " \
18+ CXXFLAGS=" -fno-exceptions -fno-rtti -Wall -Werror " retry cmake -DBUCK2=" $BUCK2 " \
1919 -DCMAKE_CXX_STANDARD_REQUIRED=ON \
2020 -DCMAKE_INSTALL_PREFIX=cmake-out \
2121 -DCMAKE_BUILD_TYPE=Release \
@@ -27,7 +27,7 @@ cmake_install_executorch_lib() {
2727}
2828
2929test_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
3131
3232 echo " Build size test"
3333 cmake --build cmake-out/test -j9 --config Release
You can’t perform that action at this time.
0 commit comments