forked from mindspore-Ecosystem/mindspore
modify extendrt package
This commit is contained in:
parent
e24f136909
commit
c7235c7e7e
|
@ -749,7 +749,7 @@ elseif(WIN32)
|
|||
${opencv_LIBPATH}/../bin/libopencv_imgproc*
|
||||
)
|
||||
install(FILES ${OPENCV_LIB_LIST} DESTINATION ${CONVERTER_ROOT_DIR}/lib COMPONENT ${RUNTIME_COMPONENT_NAME})
|
||||
if(NOT MSVC)
|
||||
if(NOT MSVC AND NOT MSLITE_ENABLE_CLOUD_FUSION_INFERENCE)
|
||||
__install_micro_wrapper()
|
||||
__install_micro_codegen()
|
||||
endif()
|
||||
|
@ -986,9 +986,11 @@ else()
|
|||
DESTINATION ${RUNTIME_LIB_DIR} RENAME libopencv_imgproc.so.4.5
|
||||
COMPONENT ${RUNTIME_COMPONENT_NAME})
|
||||
endif()
|
||||
if(NOT MSLITE_ENABLE_CLOUD_FUSION_INFERENCE)
|
||||
__install_micro_wrapper()
|
||||
__install_micro_codegen()
|
||||
endif()
|
||||
endif()
|
||||
if(MSLITE_ENABLE_TOOLS)
|
||||
if(NOT MSLITE_COMPILE_TWICE)
|
||||
install(TARGETS ${BENCHMARK_NAME} RUNTIME DESTINATION ${BENCHMARK_ROOT_DIR}
|
||||
|
@ -998,6 +1000,7 @@ else()
|
|||
install(TARGETS ${BENCHMARK_TRAIN_NAME} RUNTIME DESTINATION ${BENCHMARK_TRAIN_ROOT_DIR} COMPONENT
|
||||
${RUNTIME_COMPONENT_NAME})
|
||||
endif()
|
||||
if(NOT MSLITE_ENABLE_CLOUD_FUSION_INFERENCE)
|
||||
install(TARGETS cropper RUNTIME DESTINATION ${CROPPER_ROOT_DIR} COMPONENT ${RUNTIME_COMPONENT_NAME})
|
||||
install(FILES ${TOP_DIR}/mindspore/lite/build/tools/cropper/cropper_mapping_cpu.cfg
|
||||
DESTINATION ${CROPPER_ROOT_DIR} COMPONENT ${RUNTIME_COMPONENT_NAME})
|
||||
|
@ -1010,6 +1013,7 @@ else()
|
|||
DESTINATION ${CROPPER_ROOT_DIR} COMPONENT ${RUNTIME_COMPONENT_NAME})
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
if(MSLITE_ENABLE_KERNEL_EXECUTOR)
|
||||
install(DIRECTORY ${TOP_DIR}/mindspore/core/ops/ DESTINATION ${RUNTIME_INC_DIR}/core/ops
|
||||
COMPONENT ${RUNTIME_COMPONENT_NAME} FILES_MATCHING PATTERN "*.h")
|
||||
|
|
|
@ -894,7 +894,7 @@ if(MSLITE_ENABLE_TOOLS)
|
|||
if(SUPPORT_TRAIN)
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tools/benchmark_train)
|
||||
endif()
|
||||
if(NOT PLATFORM_ARM AND NOT WIN32)
|
||||
if(NOT PLATFORM_ARM AND NOT WIN32 AND NOT MSLITE_ENABLE_CLOUD_FUSION_INFERENCE)
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tools/cropper)
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tools/schema_gen)
|
||||
add_dependencies(fbs_src gen_ops)
|
||||
|
|
Loading…
Reference in New Issue