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