File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -125,14 +125,17 @@ build_executorch_runner_cmake() {
125125 clean_executorch_install_folders
126126 mkdir " ${CMAKE_OUTPUT_DIR} "
127127
128- pushd " ${CMAKE_OUTPUT_DIR} " || return
129128 if [[ $1 == " Debug" ]]; then
130129 CXXFLAGS=" -fsanitize=address,undefined"
131130 else
132131 CXXFLAGS=" "
133132 fi
134- CXXFLAGS=" $CXXFLAGS " retry cmake -DPYTHON_EXECUTABLE=" ${PYTHON_EXECUTABLE} " -DCMAKE_BUILD_TYPE=" ${1:- Release} " ..
135- popd || return
133+ CXXFLAGS=" $CXXFLAGS " retry cmake \
134+ -DPYTHON_EXECUTABLE=" ${PYTHON_EXECUTABLE} " \
135+ -DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
136+ -DEXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR=ON \
137+ -DCMAKE_BUILD_TYPE=" ${1:- Release} " \
138+ -B${CMAKE_OUTPUT_DIR} .
136139
137140 if [ " $( uname) " == " Darwin" ]; then
138141 CMAKE_JOBS=$(( $(sysctl - n hw.ncpu) - 1 ))
You can’t perform that action at this time.
0 commit comments