forked from mindspore-Ecosystem/mindspore
!1465 Fix Dataset compilation order
Merge pull request !1465 from h.farahat/fix_compilation_order
This commit is contained in:
commit
7f80d02807
|
@ -54,7 +54,22 @@ add_subdirectory(engine)
|
|||
add_subdirectory(api)
|
||||
add_subdirectory(text)
|
||||
######################################################################
|
||||
|
||||
add_dependencies(core utils)
|
||||
add_dependencies(kernels-image core)
|
||||
add_dependencies(kernels-data core)
|
||||
add_dependencies(kernels core)
|
||||
add_dependencies(engine-datasetops-source core)
|
||||
add_dependencies(engine-datasetops-source-sampler core)
|
||||
add_dependencies(engine-datasetops core)
|
||||
add_dependencies(engine-opt core)
|
||||
add_dependencies(engine-gnn core)
|
||||
add_dependencies(engine core)
|
||||
add_dependencies(text core)
|
||||
add_dependencies(text-kernels core)
|
||||
add_dependencies(APItoPython core)
|
||||
if (ENABLE_TDTQUE)
|
||||
add_dependencies(engine-tdt core)
|
||||
endif ()
|
||||
################### Create _c_dataengine Library ######################
|
||||
set(submodules
|
||||
$<TARGET_OBJECTS:core>
|
||||
|
|
|
@ -2,8 +2,4 @@ file(GLOB_RECURSE _CURRENT_SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cc"
|
|||
set_property(SOURCE ${_CURRENT_SRC_FILES} PROPERTY COMPILE_DEFINITIONS SUBMODULE_ID=mindspore::SubModuleId::SM_MD)
|
||||
add_library(engine-tdt OBJECT
|
||||
tdt_plugin.cc
|
||||
${EXAMPLE_SRCS}
|
||||
${FEATURE_SRCS}
|
||||
)
|
||||
|
||||
add_dependencies(engine-tdt mindspore::protobuf)
|
||||
|
|
Loading…
Reference in New Issue