File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,23 +26,23 @@ cmake_install_executorch_lib() {
2626 CXXFLAGS=" $COMMON_CXXFLAGS " retry cmake -DBUCK2=" $BUCK2 " \
2727 -DCMAKE_CXX_STANDARD_REQUIRED=ON \
2828 -DCMAKE_INSTALL_PREFIX=cmake-out \
29- -DCMAKE_BUILD_TYPE=Release \
29+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
3030 -DEXECUTORCH_BUILD_EXECUTOR_RUNNER=OFF \
3131 -DEXECUTORCH_OPTIMIZE_SIZE=ON \
3232 -DPYTHON_EXECUTABLE=" $PYTHON_EXECUTABLE " \
3333 ${EXTRA_BUILD_ARGS} \
3434 -Bcmake-out .
35- cmake --build cmake-out -j9 --target install --config Release
35+ cmake --build cmake-out -j9 --target install --config RelWithDebInfo
3636}
3737
3838test_cmake_size_test () {
39- CXXFLAGS=" $COMMON_CXXFLAGS " retry cmake -DCMAKE_BUILD_TYPE=Release \
39+ CXXFLAGS=" $COMMON_CXXFLAGS " retry cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
4040 -DCMAKE_INSTALL_PREFIX=cmake-out \
4141 ${EXTRA_BUILD_ARGS} \
4242 -Bcmake-out/test test
4343
4444 echo " Build size test"
45- cmake --build cmake-out/test -j9 --config Release
45+ cmake --build cmake-out/test -j9 --config RelWithDebInfo
4646
4747 echo ' ExecuTorch with no ops binary size, unstripped:'
4848 ls -al cmake-out/test/size_test
You can’t perform that action at this time.
0 commit comments