From f262eb8f2ce702b2ab33d0850fbc5f3df2c73009 Mon Sep 17 00:00:00 2001 From: chenyemeng Date: Tue, 5 Jan 2021 19:41:10 +0800 Subject: [PATCH] rm macro --- ge/graph/build/memory/CMakeLists.txt | 44 ---------------------------- 1 file changed, 44 deletions(-) delete mode 100644 ge/graph/build/memory/CMakeLists.txt diff --git a/ge/graph/build/memory/CMakeLists.txt b/ge/graph/build/memory/CMakeLists.txt deleted file mode 100644 index 126e0187..00000000 --- a/ge/graph/build/memory/CMakeLists.txt +++ /dev/null @@ -1,44 +0,0 @@ -set(SRC_LIST - "memory_assigner.cc" - "graph_mem_assigner.cc" - "binary_block_mem_assigner.cc" - "block_mem_assigner.cc" - "hybrid_mem_assigner.cc" - "max_block_mem_assigner.cc" - "var_mem_assign_util.cc" -) - -############ libge_memory.a ############ -add_library(ge_memory STATIC ${SRC_LIST}) - -target_compile_options(ge_memory PRIVATE - -Werror - -O2 - -fno-common -) - -target_compile_definitions(ge_memory PRIVATE - google=ascend_private - LOG_CPP -) - -target_link_libraries(ge_memory PRIVATE - $ - ascend_protobuf - c_sec -) - -target_include_directories(ge_memory PRIVATE - ${CMAKE_CURRENT_LIST_DIR} - ${GE_CODE_DIR}/ge - ${GE_CODE_DIR}/inc - ${GE_CODE_DIR}/inc/external - ${METADEF_DIR}/inc - ${METADEF_DIR}/inc/external - ${METADEF_DIR}/inc/external/graph - ${GE_CODE_DIR}/inc/framework - #### yellow zone #### - ${GE_CODE_DIR}/../inc - #### blue zone #### - ${GE_CODE_DIR}/third_party/fwkacllib/inc -)