remove gvar source file from compile as ut_tests will use gvar so

This commit is contained in:
zhousiyi 2020-09-03 06:49:30 +00:00
parent 873e034296
commit 301aeaaf1d
1 changed files with 1 additions and 2 deletions

View File

@ -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)
target_link_libraries(ut_tests PRIVATE protobuf::libprotobuf)