Browse Source

!9174 fixed libevent core not found on ascend ubuntu x86

From: @anancds
Reviewed-by: @cristoval,@limingqi107
Signed-off-by: @limingqi107
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
40a558fb04
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/CMakeLists.txt

+ 1
- 1
mindspore/ccsrc/CMakeLists.txt View File

@@ -242,7 +242,7 @@ if (ENABLE_D)
set_target_properties(ms_profile PROPERTIES LINKER_LANGUAGE CXX) set_target_properties(ms_profile PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(ms_profile -Wl,--start-group ${PROFILING_SHARED} ${PROFILING} mindspore::protobuf -Wl,--end-group) target_link_libraries(ms_profile -Wl,--start-group ${PROFILING_SHARED} ${PROFILING} mindspore::protobuf -Wl,--end-group)
target_link_libraries(mindspore ms_profile ge_runtime ${CCE_LIB} ${RUNTIME_LIB} ${TSDCLIENT} ${HCCL} ${DATATRANSFER} target_link_libraries(mindspore ms_profile ge_runtime ${CCE_LIB} ${RUNTIME_LIB} ${TSDCLIENT} ${HCCL} ${DATATRANSFER}
${REGISTER} -Wl,--no-as-needed ${OPTILING} -Wl,--as-needed)
${REGISTER} -Wl,--no-as-needed ${OPTILING})
target_link_libraries(mindspore -Wl,--start-group proto_input mindspore::protobuf -Wl,--end-group) target_link_libraries(mindspore -Wl,--start-group proto_input mindspore::protobuf -Wl,--end-group)
# hccl_adpter # hccl_adpter
find_library(HCCL_ADPTER hcom_graph_adaptor ${ASCEND_RUNTIME_PATH} ${ASCEND_TOOLKIT_RUNTIME_PATH}) find_library(HCCL_ADPTER hcom_graph_adaptor ${ASCEND_RUNTIME_PATH} ${ASCEND_TOOLKIT_RUNTIME_PATH})


Loading…
Cancel
Save