提交 c9d48817 编写于 作者: J Jesse Lee

glog

上级 a3dae634
......@@ -24,9 +24,8 @@ if (ENABLE_CACHE)
add_executable(cache_server cache_main.cc)
target_link_libraries(cache_server
engine-cache-server
$<TARGET_OBJECTS:utils>
mindspore
mindspore::glog
_c_dataengine
_c_mindrecord
mindspore::protobuf
mindspore::grpc++
mindspore_gvar
......@@ -34,8 +33,16 @@ if (ENABLE_CACHE)
${SECUREC_LIBRARY}
pthread)
if (USE_GLOG)
target_link_libraries(cache_server mindspore::glog)
endif ()
add_executable(cache_admin cache_admin.cc cache_admin_arg.cc)
target_link_libraries(cache_admin _c_dataengine _c_mindrecord ${PYTHON_LIBRARIES} mindspore::glog)
target_link_libraries(cache_admin _c_dataengine _c_mindrecord ${PYTHON_LIBRARIES})
if (USE_GLOG)
target_link_libraries(cache_admin mindspore::glog)
endif ()
add_dependencies(engine-cache-server generated_engine_files)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册