!409 mindspore mode support static mmpa

From: @nicholas_yhr
Reviewed-by: @youui,@liujunzhu
Signed-off-by: @liujunzhu
pull/409/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit e03ac885aa

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

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