update cmake

pull/110/head
taoxiangdong 4 years ago
parent aaa88576cf
commit c60e9e3ed7

@ -94,7 +94,7 @@ if (ENABLE_OPEN_SRC)
find_module(ascend_hal_stub libascend_hal.so ${ASCEND_DRIVER_DIR}) find_module(ascend_hal_stub libascend_hal.so ${ASCEND_DRIVER_DIR})
find_module(msprof libmsprof.so ${ASCEND_DRIVER_DIR}) find_module(msprof libmsprof.so ${ASCEND_DRIVER_DIR})
else() else()
find_module(msprof libmsprof.so ${ASCEND_ATC_DIR}) // find_module(msprof libmsprof.so ${ASCEND_ATC_DIR})
endif() endif()
elseif(PLATFORM STREQUAL "all") elseif(PLATFORM STREQUAL "all")
find_module(slog libslog.so ${ASCEND_DRIVER_DIR}) find_module(slog libslog.so ${ASCEND_DRIVER_DIR})

Loading…
Cancel
Save