Browse Source

!670 sync parser to master 202206917

Merge pull request !670 from zhangfan/ge_dev
pull/673/MERGE
zhangfan Gitee 2 years ago
parent
commit
e43640658e
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 10 deletions
  1. +2
    -10
      CMakeLists.txt

+ 2
- 10
CMakeLists.txt View File

@@ -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()



Loading…
Cancel
Save