|
@@ -56,7 +56,7 @@ if (ENABLE_OPEN_SRC) |
|
|
set(GE_LIB_PATH ${GE_LIB_PATH}/${GE_SYS_ARCH}) |
|
|
set(GE_LIB_PATH ${GE_LIB_PATH}/${GE_SYS_ARCH}) |
|
|
set(STATIC_ACL_LIB ${GE_LIB_PATH}) |
|
|
set(STATIC_ACL_LIB ${GE_LIB_PATH}) |
|
|
find_module(slog libslog.so ${GE_LIB_PATH}) |
|
|
find_module(slog libslog.so ${GE_LIB_PATH}) |
|
|
find_module(mmpa libmmpa.a ${GE_LIB_PATH}) |
|
|
|
|
|
|
|
|
find_module(static_mmpa libmmpa.a ${GE_LIB_PATH}) |
|
|
find_module(msprof libmsprof.so ${GE_LIB_PATH}) |
|
|
find_module(msprof libmsprof.so ${GE_LIB_PATH}) |
|
|
find_module(hccl libhccl.so ${GE_LIB_PATH}) |
|
|
find_module(hccl libhccl.so ${GE_LIB_PATH}) |
|
|
find_module(adump_server libadump_server.a ${GE_LIB_PATH}) |
|
|
find_module(adump_server libadump_server.a ${GE_LIB_PATH}) |
|
@@ -70,7 +70,7 @@ if (ENABLE_OPEN_SRC) |
|
|
#find_module(ascendcl_static libascendcl.a ${GE_LIB_PATH}) |
|
|
#find_module(ascendcl_static libascendcl.a ${GE_LIB_PATH}) |
|
|
else() |
|
|
else() |
|
|
find_module(slog libslog.so ${ASCEND_ATC_DIR}) |
|
|
find_module(slog libslog.so ${ASCEND_ATC_DIR}) |
|
|
find_module(mmpa libmmpa.a ${ASCEND_ATC_DIR}) |
|
|
|
|
|
|
|
|
find_module(static_mmpa libmmpa.a ${ASCEND_ATC_DIR}) |
|
|
if(PLATFORM STREQUAL "train") |
|
|
if(PLATFORM STREQUAL "train") |
|
|
find_module(msprof libmsprof.so ${ASCEND_DRIVER_COMMON_DIR}) |
|
|
find_module(msprof libmsprof.so ${ASCEND_DRIVER_COMMON_DIR}) |
|
|
find_module(hccl libhccl.so ${ASCEND_RUNTIME_DIR}) |
|
|
find_module(hccl libhccl.so ${ASCEND_RUNTIME_DIR}) |
|
@@ -91,7 +91,7 @@ if (ENABLE_OPEN_SRC) |
|
|
find_module(error_manager liberror_manager.so ${ASCEND_ATC_DIR}) |
|
|
find_module(error_manager liberror_manager.so ${ASCEND_ATC_DIR}) |
|
|
find_module(error_manager_static liberror_manager.a ${ASCEND_ACL_DIR}) |
|
|
find_module(error_manager_static liberror_manager.a ${ASCEND_ACL_DIR}) |
|
|
find_module(msprofiler libmsprofiler.a ${ASCEND_ACL_DIR}) |
|
|
find_module(msprofiler libmsprofiler.a ${ASCEND_ACL_DIR}) |
|
|
#find_module(ascendcl_static libascendcl.a ${ASCEND_ACL_DIR}) |
|
|
|
|
|
|
|
|
#find_module(ascendcl_static libascendcl.a ${ASCEND_ACL_DIR}) |
|
|
if(PRODUCT STREQUAL "flr3") |
|
|
if(PRODUCT STREQUAL "flr3") |
|
|
find_module(msprof libmsprof.so ${ASCEND_DRIVER_SHARE_DIR}) |
|
|
find_module(msprof libmsprof.so ${ASCEND_DRIVER_SHARE_DIR}) |
|
|
elseif(PRODUCT STREQUAL "flr1") |
|
|
elseif(PRODUCT STREQUAL "flr1") |
|
|