|
|
|
@ -56,7 +56,7 @@ if (ENABLE_OPEN_SRC)
|
|
|
|
|
set(GE_LIB_PATH ${GE_LIB_PATH}/${GE_SYS_ARCH})
|
|
|
|
|
set(STATIC_ACL_LIB ${GE_LIB_PATH})
|
|
|
|
|
find_module(slog libslog.so ${GE_LIB_PATH})
|
|
|
|
|
find_module(mmpa libmmpa.so ${GE_LIB_PATH})
|
|
|
|
|
find_module(mmpa libmmpa.a ${GE_LIB_PATH})
|
|
|
|
|
find_module(msprof libmsprof.so ${GE_LIB_PATH})
|
|
|
|
|
find_module(hccl libhccl.so ${GE_LIB_PATH})
|
|
|
|
|
find_module(adump_server libadump_server.a ${GE_LIB_PATH})
|
|
|
|
@ -67,10 +67,10 @@ if (ENABLE_OPEN_SRC)
|
|
|
|
|
find_module(ascend_hal_stub libascend_hal.so ${GE_LIB_PATH})
|
|
|
|
|
find_module(error_manager_static liberror_manager.a ${GE_LIB_PATH})
|
|
|
|
|
find_module(msprofiler libmsprofiler.a ${GE_LIB_PATH})
|
|
|
|
|
#find_module(ascendcl_static libascendcl.a ${GE_LIB_PATH})
|
|
|
|
|
#find_module(ascendcl_static libascendcl.a ${GE_LIB_PATH})
|
|
|
|
|
else()
|
|
|
|
|
find_module(slog libslog.so ${ASCEND_ATC_DIR})
|
|
|
|
|
find_module(mmpa libmmpa.so ${ASCEND_ATC_DIR})
|
|
|
|
|
find_module(mmpa libmmpa.a ${ASCEND_ATC_DIR})
|
|
|
|
|
if(PLATFORM STREQUAL "train")
|
|
|
|
|
find_module(msprof libmsprof.so ${ASCEND_DRIVER_COMMON_DIR})
|
|
|
|
|
find_module(hccl libhccl.so ${ASCEND_RUNTIME_DIR})
|
|
|
|
@ -114,7 +114,7 @@ if (ENABLE_OPEN_SRC)
|
|
|
|
|
find_module(error_manager_static liberror_manager.a ${ASCEND_ACL_DIR})
|
|
|
|
|
find_module(msprofiler libmsprofiler.a ${ASCEND_ACL_DIR})
|
|
|
|
|
find_module(ascend_hal_stub libascend_hal.so ${ASCEND_DRIVER_DIR}/driver)
|
|
|
|
|
#find_module(ascendcl_static libascendcl.a ${ASCEND_ACL_DIR})
|
|
|
|
|
#find_module(ascendcl_static libascendcl.a ${ASCEND_ACL_DIR})
|
|
|
|
|
else()
|
|
|
|
|
message(FATAL_ERROR "PLATFORM param is invalid, should be train or inference, build terminated")
|
|
|
|
|
endif()
|
|
|
|
|