From 301aeaaf1d01782529c523dae24dcb76dc6cc332 Mon Sep 17 00:00:00 2001 From: zhousiyi Date: Thu, 3 Sep 2020 06:49:30 +0000 Subject: [PATCH] remove gvar source file from compile as ut_tests will use gvar so --- tests/ut/cpp/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ut/cpp/CMakeLists.txt b/tests/ut/cpp/CMakeLists.txt index c677abded74..37d084d9d89 100644 --- a/tests/ut/cpp/CMakeLists.txt +++ b/tests/ut/cpp/CMakeLists.txt @@ -58,7 +58,6 @@ add_subdirectory(serving) file(GLOB_RECURSE MINDSPORE_SRC_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "../../../mindspore/core/base/*.cc" - "../../../mindspore/core/gvar/*.cc" "../../../mindspore/core/abstract/*.cc" "../../../mindspore/core/ir/*.cc" "../../../mindspore/core/utils/*.cc" @@ -209,4 +208,4 @@ endif () find_package(gRPC CONFIG REQUIRED) target_link_libraries(ut_tests PRIVATE gRPC::grpc++) target_link_libraries(ut_tests PRIVATE gRPC::grpc++_reflection) -target_link_libraries(ut_tests PRIVATE protobuf::libprotobuf) \ No newline at end of file +target_link_libraries(ut_tests PRIVATE protobuf::libprotobuf)