File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,18 +55,18 @@ build_cmake_executor_runner() {
55
55
mkdir ${CMAKE_OUTPUT_DIR}
56
56
if [[ " $backend_string_select " == " XNNPACK" ]]; then
57
57
echo " Backend $backend_string_select selected"
58
- cmake -DCMAKE_BUILD_TYPE=Debug \
59
- -DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
58
+ (cd ${CMAKE_OUTPUT_DIR} \
59
+ && cmake -DCMAKE_BUILD_TYPE=Release \
60
60
-DEXECUTORCH_BUILD_XNNPACK=ON \
61
- -DPYTHON_EXECUTABLE=" $PYTHON_EXECUTABLE " \
62
- -B ${CMAKE_OUTPUT_DIR} .
61
+ -DPYTHON_EXECUTABLE=" $PYTHON_EXECUTABLE " ..)
62
+ cmake --build ${CMAKE_OUTPUT_DIR} -j4
63
63
else
64
64
cmake -DCMAKE_BUILD_TYPE=Debug \
65
65
-DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
66
66
-DPYTHON_EXECUTABLE=" $PYTHON_EXECUTABLE " \
67
67
-B${CMAKE_OUTPUT_DIR} .
68
+ cmake --build ${CMAKE_OUTPUT_DIR} -j4 --config Debug
68
69
fi
69
- cmake --build ${CMAKE_OUTPUT_DIR} -j4 --config Debug
70
70
}
71
71
72
72
run_portable_executor_runner () {
You can’t perform that action at this time.
0 commit comments