Skip to content

Commit

Permalink
chore: qnn cmake execcutables
Browse files Browse the repository at this point in the history
  • Loading branch information
oreomaker committed Oct 11, 2024
1 parent 6063c0a commit ac16abd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,6 @@ else ()
target_link_libraries(demo_minicpm PUBLIC MLLM_CPU -fopenmp)
endif ()

endif() # end of cpu executables

add_executable(demo_smollm
${PROJECT_SOURCE_DIR}/examples/demo_smollm.cpp
${DIR_SRC_CPU}
Expand Down Expand Up @@ -588,6 +586,7 @@ else ()
target_link_libraries(benchmark_llm PUBLIC MLLM_CPU -fopenmp)
endif ()

endif() # end of cpu executables
# QNN demo
if(QNN)
# qnn executables
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_qnn_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cmake .. \
-DANDROID_NATIVE_API_LEVEL=android-28 \
-DNATIVE_LIBRARY_OUTPUT=. -DNATIVE_INCLUDE_OUTPUT=. $1 $2 $3 \
-DQNN=ON \
-DDEBUG=ON \
-DDEBUG=OFF \
-DTEST=OFF \
-DQUANT=OFF

Expand Down

0 comments on commit ac16abd

Please sign in to comment.