Skip to content

Commit 55b2376

Browse files
committed
fix build.sh for oe build
1 parent 9d62ce7 commit 55b2376

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backends/qualcomm/scripts/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ if [ "$BUILD_OE_LINUX" = true ]; then
171171
-DEXECUTORCH_BUILD_CPUINFO=OFF \
172172
-DEXECUTORCH_BUILD_QNN=ON \
173173
-DEXECUTORCH_BUILD_DEVTOOLS=ON \
174+
-DEXECUTORCH_BUILD_EXTENSION_LLM=ON \
175+
-DEXECUTORCH_BUILD_EXTENSION_LLM_RUNNER=ON \
174176
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
175177
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
176178
-DEXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR=ON \
@@ -184,7 +186,7 @@ if [ "$BUILD_OE_LINUX" = true ]; then
184186
cmake --build $BUILD_ROOT -j$BUILD_JOB_NUMBER --target install
185187

186188
EXAMPLE_ROOT=examples/qualcomm
187-
CMAKE_PREFIX_PATH="${BUILD_ROOT}/lib/cmake/ExecuTorch;${BUILD_ROOT}/third-party/gflags;"
189+
CMAKE_PREFIX_PATH="${BUILD_ROOT};${BUILD_ROOT}/third-party/gflags;"
188190

189191
cmake $PRJ_ROOT/$EXAMPLE_ROOT \
190192
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \

0 commit comments

Comments
 (0)