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() {
5555 mkdir ${CMAKE_OUTPUT_DIR}
5656 if [[ " $backend_string_select " == " XNNPACK" ]]; then
5757 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 \
6060 -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
6363 else
6464 cmake -DCMAKE_BUILD_TYPE=Debug \
6565 -DEXECUTORCH_BUILD_KERNELS_OPTIMIZED=ON \
6666 -DPYTHON_EXECUTABLE=" $PYTHON_EXECUTABLE " \
6767 -B${CMAKE_OUTPUT_DIR} .
68+ cmake --build ${CMAKE_OUTPUT_DIR} -j4 --config Debug
6869 fi
69- cmake --build ${CMAKE_OUTPUT_DIR} -j4 --config Debug
7070}
7171
7272run_portable_executor_runner () {
You can’t perform that action at this time.
0 commit comments