Browse Source

update c76 cmake

pull/165/head
wqtshg 4 years ago
parent
commit
6883cf7034
5 changed files with 6 additions and 6 deletions
  1. +2
    -2
      CMakeLists.txt
  2. +1
    -1
      metadef
  3. +1
    -1
      parser/CMakeLists.txt
  4. +1
    -1
      parser/common/CMakeLists.txt
  5. +1
    -1
      parser/onnx/CMakeLists.txt

+ 2
- 2
CMakeLists.txt View File

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


+ 1
- 1
metadef

@@ -1 +1 @@
Subproject commit c3269edc0ec089dce4ae2e80f41fea42a57e7b6f
Subproject commit 1af2464c128ef115c366b9b4056d838b3d4a2f76

+ 1
- 1
parser/CMakeLists.txt View File

@@ -102,7 +102,7 @@ target_link_libraries(fmk_parser
register
_caffe_parser
c_sec
alog
slog
-Wl,--as-needed
json
-lrt


+ 1
- 1
parser/common/CMakeLists.txt View File

@@ -81,7 +81,7 @@ target_link_libraries(parser_common PRIVATE
ascend_protobuf
register
c_sec
alog
slog
error_manager
-Wl,--as-needed
json


+ 1
- 1
parser/onnx/CMakeLists.txt View File

@@ -70,7 +70,7 @@ target_link_libraries(fmk_onnx_parser PRIVATE
c_sec
parser_common
graph
alog
slog
-Wl,--as-needed
json
-lrt


Loading…
Cancel
Save