Browse Source

!409 mindspore mode support static mmpa

From: @nicholas_yhr
Reviewed-by: @youui,@liujunzhu
Signed-off-by: @liujunzhu
tags/v1.1.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
e03ac885aa
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      CMakeLists.txt
  2. +1
    -1
      ge/common/CMakeLists.txt

+ 1
- 1
CMakeLists.txt View File

@@ -148,10 +148,10 @@ elseif (ENABLE_D OR ENABLE_ACL)
# common libraries
find_module(slog libslog.so ${ASCEND_MS_DRIVER_PATH})
find_module(error_manager liberror_manager.so ${ASCEND_MS_RUNTIME_PATH} ${ATLAS_MS_RUNTIME_PATH})
find_module(static_mmpa libmmpa.a ${ASCEND_MS_DRIVER_PATH})

if (ENABLE_D)
# training
find_module(mmpa libmmpa.so ${ASCEND_MS_DRIVER_PATH})
find_module(runtime libruntime.so ${ASCEND_MS_RUNTIME_PATH} ${ATLAS_MS_RUNTIME_PATH})
find_module(register libregister.so ${ASCEND_MS_RUNTIME_PATH} ${ATLAS_MS_RUNTIME_PATH})
endif ()


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

@@ -210,7 +210,7 @@ target_link_libraries(ge_common PRIVATE
c_sec
error_manager
slog
mmpa
static_mmpa
-Wl,--as-needed
json
-lrt


Loading…
Cancel
Save