Skip to content

Commit

Permalink
[Bug Fix] Fix TIMVX compile bugs (PaddlePaddle#1069)
Browse files Browse the repository at this point in the history
fix timvx compile bug
  • Loading branch information
yeliang2258 authored Jan 5, 2023
1 parent edc18c9 commit c9a086e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/paddlelite.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ else()
BUILD_BYPRODUCTS ${PADDLELITE_LIB})
endif()

if(UNIX AND (NOT APPLE) AND (NOT ANDROID))
if(UNIX AND (NOT APPLE) AND (NOT ANDROID) AND BUILD_FASTDEPLOY_PYTHON)
add_custom_target(patchelf_paddle_lite ALL COMMAND bash -c "PATCHELF_EXE=${PATCHELF_EXE} python ${PROJECT_SOURCE_DIR}/scripts/patch_paddle_lite.py ${PADDLELITE_INSTALL_DIR}/lib/" DEPENDS ${LIBRARY_NAME})
endif()

Expand Down

0 comments on commit c9a086e

Please sign in to comment.