From bf3be54322381b9a674c220ddd98d9f580c87b5a Mon Sep 17 00:00:00 2001 From: yanghaoran Date: Tue, 24 Nov 2020 17:27:19 +0800 Subject: [PATCH] mindspore mode support static mmpa --- CMakeLists.txt | 2 +- ge/common/CMakeLists.txt | 2 +- metadef | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 936d85d7..4134678f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 () diff --git a/ge/common/CMakeLists.txt b/ge/common/CMakeLists.txt index 117b7f86..728971b6 100755 --- a/ge/common/CMakeLists.txt +++ b/ge/common/CMakeLists.txt @@ -210,7 +210,7 @@ target_link_libraries(ge_common PRIVATE c_sec error_manager slog - mmpa + static_mmpa -Wl,--as-needed json -lrt diff --git a/metadef b/metadef index 6bdf2e30..89590b34 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit 6bdf2e3011150b200fdcd2acd18b7186902534b6 +Subproject commit 89590b3405f6c5714997c07f81470764ac66635b