From 6883cf7034eeb17764dd73b1dcaca5b25c33751c Mon Sep 17 00:00:00 2001 From: wqtshg Date: Fri, 25 Dec 2020 09:46:55 +0800 Subject: [PATCH] update c76 cmake --- CMakeLists.txt | 4 ++-- metadef | 2 +- parser/CMakeLists.txt | 2 +- parser/common/CMakeLists.txt | 2 +- parser/onnx/CMakeLists.txt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29c0bc1..2cb74b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ if (ENABLE_OPEN_SRC) message(FATAL_ERROR "Running on a unsupported architecture: ${SYSTEM_TYPE}, build terminated") endif() set(GE_LIB_PATH ${GE_LIB_PATH}/${GE_SYS_ARCH}) - find_module(alog libalog.so ${GE_LIB_PATH}) + find_module(slog libalog.so ${GE_LIB_PATH}) find_module(static_mmpa libmmpa.a ${GE_LIB_PATH}) find_module(error_manager liberror_manager.so ${GE_LIB_PATH}) else() @@ -45,7 +45,7 @@ if (ENABLE_OPEN_SRC) set(ASCEND_ATC_DIR ${ASCEND_DIR}/atc/lib64) - find_module(alog libalog.so ${ASCEND_ATC_DIR}) + find_module(slog libalog.so ${ASCEND_ATC_DIR}) find_module(static_mmpa libmmpa.a ${ASCEND_ATC_DIR}) find_module(error_manager liberror_manager.so ${ASCEND_ATC_DIR}) endif() diff --git a/metadef b/metadef index c3269ed..1af2464 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit c3269edc0ec089dce4ae2e80f41fea42a57e7b6f +Subproject commit 1af2464c128ef115c366b9b4056d838b3d4a2f76 diff --git a/parser/CMakeLists.txt b/parser/CMakeLists.txt index 0f1d98a..c58092e 100644 --- a/parser/CMakeLists.txt +++ b/parser/CMakeLists.txt @@ -102,7 +102,7 @@ target_link_libraries(fmk_parser register _caffe_parser c_sec - alog + slog -Wl,--as-needed json -lrt diff --git a/parser/common/CMakeLists.txt b/parser/common/CMakeLists.txt index 6cbf3dd..7471782 100644 --- a/parser/common/CMakeLists.txt +++ b/parser/common/CMakeLists.txt @@ -81,7 +81,7 @@ target_link_libraries(parser_common PRIVATE ascend_protobuf register c_sec - alog + slog error_manager -Wl,--as-needed json diff --git a/parser/onnx/CMakeLists.txt b/parser/onnx/CMakeLists.txt index f6092a5..fbec9a8 100644 --- a/parser/onnx/CMakeLists.txt +++ b/parser/onnx/CMakeLists.txt @@ -70,7 +70,7 @@ target_link_libraries(fmk_onnx_parser PRIVATE c_sec parser_common graph - alog + slog -Wl,--as-needed json -lrt