diff --git a/mindspore/ccsrc/CMakeLists.txt b/mindspore/ccsrc/CMakeLists.txt index 2085cad397bb2dbb01190003988112b427aa3c78..88f88d49e93356968481471ee044d447144feab7 100644 --- a/mindspore/ccsrc/CMakeLists.txt +++ b/mindspore/ccsrc/CMakeLists.txt @@ -135,7 +135,7 @@ endif() if (ENABLE_GE) if(ENABLE_TRAIN) - target_link_libraries(mindspore ge_client_train hccl) + target_link_libraries(mindspore ge_runner hccl) else () target_link_libraries(mindspore ge_client) endif () diff --git a/tests/ut/cpp/CMakeLists.txt b/tests/ut/cpp/CMakeLists.txt index 9213e41450e969149f536f0df15b6b66334949c9..5e30b074a31a5101392390f292fe2df3105dc05f 100644 --- a/tests/ut/cpp/CMakeLists.txt +++ b/tests/ut/cpp/CMakeLists.txt @@ -129,7 +129,7 @@ add_executable(ut_tests ${UT_SRCS} ${MINDSPORE_SRC_LIST} ${UT_SUTB_SRC_LIST}) if (ENABLE_GE) if(ENABLE_TRAIN) - target_link_libraries(ut_tests PRIVATE graph ge_client_train) + target_link_libraries(ut_tests PRIVATE graph ge_runner) else() target_link_libraries(ut_tests PRIVATE graph ge_client) endif()