|
|
@@ -72,13 +72,10 @@ include_directories(${CMAKE_BINARY_DIR}/proto/ge/proto) |
|
|
|
|
|
|
|
|
|
|
|
#### GRAPH_SRC_FILES #### |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/graph GRAPH_SRC_FILES) |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/graph/debug GRAPH_DEBUG_SRC_FILES) |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/graph/detail GRAPH_DETAIL_SRC_FILES) |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/graph/opsproto GRAPH_OPSPROTO_SRC_FILES) |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/graph/option GRAPH_OPTION_SRC_FILES) |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/graph/utils GRAPH_UTILS_SRC_FILES) |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/graph/utils/dumper GRAPH_DUMPER_SRC_FILES) |
|
|
|
FILE(GLOB_RECURSE GRAPH_SRC_FILES_DEPTH0 ${GE_CODE_DIR}/metadef/graph/*.cc) |
|
|
|
FILE(GLOB_RECURSE GRAPH_SRC_FILES_DEPTH1 ${GE_CODE_DIR}/metadef/graph/*/*.cc) |
|
|
|
FILE(GLOB_RECURSE GRAPH_SRC_FILES_DEPTH2 ${GE_CODE_DIR}/metadef/graph/*/*/*.cc) |
|
|
|
|
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/ops GRAPH_OPS_SRC_FILES) |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/register GRAPH_REGISTER_SRC_FILES) |
|
|
|
AUX_SOURCE_DIRECTORY(${GE_CODE_DIR}/metadef/third_party/transformer/src TRANSFORMER_SRC_FILES) |
|
|
@@ -762,13 +759,9 @@ list(APPEND COMMON_SHARED_LIBRARIES |
|
|
|
|
|
|
|
# build graph |
|
|
|
add_library(ge_ut_graph STATIC |
|
|
|
${GRAPH_SRC_FILES} |
|
|
|
${GRAPH_DEBUG_SRC_FILES} |
|
|
|
${GRAPH_DETAIL_SRC_FILES} |
|
|
|
${GRAPH_OPSPROTO_SRC_FILES} |
|
|
|
${GRAPH_OPTION_SRC_FILES} |
|
|
|
${GRAPH_UTILS_SRC_FILES} |
|
|
|
${GRAPH_DUMPER_SRC_FILES} |
|
|
|
${GRAPH_SRC_FILES_DEPTH0} |
|
|
|
${GRAPH_SRC_FILES_DEPTH1} |
|
|
|
${GRAPH_SRC_FILES_DEPTH2} |
|
|
|
${GRAPH_OPS_SRC_FILES} |
|
|
|
${GRAPH_REGISTER_SRC_FILES} |
|
|
|
${TRANSFORMER_SRC_FILES} |
|
|
|