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() {
26
26
CXXFLAGS=" $COMMON_CXXFLAGS " retry cmake -DBUCK2=" $BUCK2 " \
27
27
-DCMAKE_CXX_STANDARD_REQUIRED=ON \
28
28
-DCMAKE_INSTALL_PREFIX=cmake-out \
29
- -DCMAKE_BUILD_TYPE=Release \
29
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
30
30
-DEXECUTORCH_BUILD_EXECUTOR_RUNNER=OFF \
31
31
-DEXECUTORCH_OPTIMIZE_SIZE=ON \
32
32
-DPYTHON_EXECUTABLE=" $PYTHON_EXECUTABLE " \
33
33
${EXTRA_BUILD_ARGS} \
34
34
-Bcmake-out .
35
- cmake --build cmake-out -j9 --target install --config Release
35
+ cmake --build cmake-out -j9 --target install --config RelWithDebInfo
36
36
}
37
37
38
38
test_cmake_size_test () {
39
- CXXFLAGS=" $COMMON_CXXFLAGS " retry cmake -DCMAKE_BUILD_TYPE=Release \
39
+ CXXFLAGS=" $COMMON_CXXFLAGS " retry cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
40
40
-DCMAKE_INSTALL_PREFIX=cmake-out \
41
41
${EXTRA_BUILD_ARGS} \
42
42
-Bcmake-out/test test
43
43
44
44
echo " Build size test"
45
- cmake --build cmake-out/test -j9 --config Release
45
+ cmake --build cmake-out/test -j9 --config RelWithDebInfo
46
46
47
47
echo ' ExecuTorch with no ops binary size, unstripped:'
48
48
ls -al cmake-out/test/size_test
You can’t perform that action at this time.
0 commit comments