forked from mindspore-Ecosystem/mindspore
!46507 Fix dvpp utils undefined symbol error.
Merge pull request !46507 from youshu/ys_dvpp_symbol_2_0
This commit is contained in:
commit
48fe0dd804
|
@ -29,7 +29,7 @@ add_library(dvpp_utils SHARED ${DVPP_UTILS_SRC})
|
|||
if(MSLITE_ENABLE_ACL)
|
||||
find_library(acl_dvpp libacl_dvpp.so ${ASCEND_CANN_RUNTIME_PATH} ${ASCEND_TOOLKIT_RUNTIME_PATH})
|
||||
find_library(acl libascendcl.so ${ASCEND_CANN_RUNTIME_PATH} ${ASCEND_TOOLKIT_RUNTIME_PATH})
|
||||
target_link_libraries(dvpp_utils PRIVATE ${acl} ${acl_dvpp} mindspore_core)
|
||||
target_link_libraries(dvpp_utils PRIVATE minddata-lite ${acl} ${acl_dvpp} mindspore_core)
|
||||
else()
|
||||
target_link_libraries(dvpp_utils PRIVATE _c_dataengine ${ACL} ${ACL_DVPP} mindspore_core mindspore_shared_lib)
|
||||
endif()
|
||||
|
|
|
@ -370,6 +370,21 @@ if(MSLITE_MINDDATA_IMPLEMENT STREQUAL "full")
|
|||
Threads::Threads
|
||||
)
|
||||
|
||||
if(MSLITE_ENABLE_CLOUD_FUSION_INFERENCE AND MSLITE_ENABLE_ACL)
|
||||
target_link_libraries(minddata-lite
|
||||
mindspore_core
|
||||
mindspore::opencv_core
|
||||
mindspore::opencv_imgcodecs
|
||||
mindspore::opencv_imgproc
|
||||
)
|
||||
target_link_libraries(minddata-lite_static
|
||||
mindspore_core
|
||||
mindspore::opencv_core
|
||||
mindspore::opencv_imgcodecs
|
||||
mindspore::opencv_imgproc
|
||||
)
|
||||
endif()
|
||||
|
||||
# ref: https://github.com/android/ndk/issues/1202
|
||||
if(ANDROID_NDK)
|
||||
if(PLATFORM_ARM32)
|
||||
|
|
Loading…
Reference in New Issue