From fb41ea13c4948c14b55e17a6d8595b784243e5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B6=9B?= Date: Sat, 17 Sep 2022 09:42:31 +0000 Subject: [PATCH] =?UTF-8?q?!669=20rename=20alog=20to=20ascendalog=20Merge?= =?UTF-8?q?=20pull=20request=20!669=20from=20=E7=8E=8B=E6=B6=9B/code=5Frev?= =?UTF-8?q?iew1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9fe466..0f1ec2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,11 +43,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}) - if(ENABLE_OPEN_SRC) - find_module(slog libalog.so ${GE_LIB_PATH}) - else() - find_module(slog libascendalog.so ${GE_LIB_PATH}) - endif() + find_module(slog libascendalog.so ${GE_LIB_PATH}) find_module(static_mmpa libmmpa.a ${GE_LIB_PATH}) elseif(ENABLE_GE_COV OR ENABLE_GE_UT) message(STATUS "Runing on llt mode, no need to depend other component") @@ -62,11 +58,7 @@ if (ENABLE_OPEN_SRC) endif() set(ASCEND_COMPILER_DIR ${ASCEND_DIR}/compiler/lib64) - if(ENABLE_OPEN_SRC) - find_module(slog libalog.so ${ASCEND_COMPILER_DIR}) - else() - find_module(slog libascendalog.so ${ASCEND_COMPILER_DIR}) - endif() + find_module(slog libascendalog.so ${ASCEND_COMPILER_DIR}) find_module(static_mmpa libmmpa.a ${ASCEND_COMPILER_DIR}) endif()