|
@@ -80,7 +80,7 @@ if (ENABLE_OPEN_SRC) |
|
|
find_module(error_manager liberror_manager.so ${GE_LIB_PATH}) |
|
|
find_module(error_manager liberror_manager.so ${GE_LIB_PATH}) |
|
|
find_module(ascend_hal_stub libascend_hal.so ${GE_LIB_PATH}) |
|
|
find_module(ascend_hal_stub libascend_hal.so ${GE_LIB_PATH}) |
|
|
find_module(error_manager_static liberror_manager.a ${GE_LIB_PATH}) |
|
|
find_module(error_manager_static liberror_manager.a ${GE_LIB_PATH}) |
|
|
#find_module(msprofiler_fwk libmsprofiler_fwk.a ${GE_LIB_PATH}) |
|
|
|
|
|
|
|
|
find_module(msprofiler_fwk libmsprofiler_fwk.a ${GE_LIB_PATH}) |
|
|
#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}) |
|
@@ -92,7 +92,7 @@ if (ENABLE_OPEN_SRC) |
|
|
find_module(runtime libruntime.so ${ASCEND_RUNTIME_DIR}) |
|
|
find_module(runtime libruntime.so ${ASCEND_RUNTIME_DIR}) |
|
|
find_module(resource libresource.so ${ASCEND_RUNTIME_DIR}) |
|
|
find_module(resource libresource.so ${ASCEND_RUNTIME_DIR}) |
|
|
find_module(error_manager liberror_manager.so ${ASCEND_RUNTIME_DIR}) |
|
|
find_module(error_manager liberror_manager.so ${ASCEND_RUNTIME_DIR}) |
|
|
#find_module(msprofiler_fwk libmsprofiler_fwk.a ${ASCEND_RUNTIME_DIR}) |
|
|
|
|
|
|
|
|
find_module(msprofiler_fwk libmsprofiler_fwk.a ${ASCEND_RUNTIME_DIR}) |
|
|
find_module(ascend_hal_stub libascend_hal.so ${ASCEND_DRIVER_DIR}/driver) |
|
|
find_module(ascend_hal_stub libascend_hal.so ${ASCEND_DRIVER_DIR}/driver) |
|
|
if(PRODUCT STREQUAL "flr3") |
|
|
if(PRODUCT STREQUAL "flr3") |
|
|
message(FATAL_ERROR "This platform is not supported in train mode, build terminated") |
|
|
message(FATAL_ERROR "This platform is not supported in train mode, build terminated") |
|
@@ -123,7 +123,7 @@ if (ENABLE_OPEN_SRC) |
|
|
find_module(resource libresource.so ${ASCEND_ATC_DIR}) |
|
|
find_module(resource libresource.so ${ASCEND_ATC_DIR}) |
|
|
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_fwk libmsprofiler_fwk.a ${ASCEND_RUNTIME_DIR}) |
|
|
|
|
|
|
|
|
find_module(msprofiler_fwk libmsprofiler_fwk.a ${ASCEND_RUNTIME_DIR}) |
|
|
find_module(ascend_hal_stub libascend_hal.so ${ASCEND_DRIVER_DIR}/driver) |
|
|
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() |
|
|
else() |
|
|