From 7a914446502341fb8605fb9d4d4792a473c0dbba Mon Sep 17 00:00:00 2001 From: taoxiangdong Date: Sat, 12 Dec 2020 21:41:40 +0800 Subject: [PATCH] slogd LOG_CPP --- ge/graph/build/memory/CMakeLists.txt | 1 + ge/offline/CMakeLists.txt | 12 +++--------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/ge/graph/build/memory/CMakeLists.txt b/ge/graph/build/memory/CMakeLists.txt index bdd869a9..e988b4ce 100644 --- a/ge/graph/build/memory/CMakeLists.txt +++ b/ge/graph/build/memory/CMakeLists.txt @@ -18,6 +18,7 @@ target_compile_options(ge_memory PRIVATE target_compile_definitions(ge_memory PRIVATE google=ascend_private + LOG_CPP ) target_link_libraries(ge_memory PRIVATE diff --git a/ge/offline/CMakeLists.txt b/ge/offline/CMakeLists.txt index c4103809..21221042 100644 --- a/ge/offline/CMakeLists.txt +++ b/ge/offline/CMakeLists.txt @@ -63,14 +63,12 @@ target_link_libraries(atc PRIVATE c_sec graph error_manager - -Wl,--start-group - slog ge_compiler - -Wl,--end-group parser_common gflags json runtime_compile + slog static_mmpa -lrt -ldl @@ -125,14 +123,12 @@ target_link_libraries(atc_atc.bin PRIVATE c_sec graph error_manager - -Wl,--start-group - slog ge_compiler - -Wl,--end-group parser_common gflags json runtime_compile + slog static_mmpa -lrt -ldl @@ -192,14 +188,12 @@ target_link_libraries(fwk_atc.bin PRIVATE c_sec graph error_manager - -Wl,--start-group - slog ge_runner - -Wl,--end-group parser_common gflags json runtime + slog static_mmpa -lrt -ldl