未验证 提交 c0133e01 编写于 作者: H Huihuang Zheng 提交者: GitHub

Add Dependency to Fix Random Compilation Failure (#34256)

Add boost as dependency to fix random compilation failure. This is due to program_processing.cc used boost but didn't write boost into DEPS in the CMakeLists.txt
上级 c963a21d
...@@ -197,14 +197,14 @@ cc_test(operator_exception_test SRCS operator_exception_test.cc DEPS operator op ...@@ -197,14 +197,14 @@ cc_test(operator_exception_test SRCS operator_exception_test.cc DEPS operator op
cc_library(version SRCS version.cc) cc_library(version SRCS version.cc)
cc_test(version_test SRCS version_test.cc DEPS version) cc_test(version_test SRCS version_test.cc DEPS version)
cc_library(proto_desc SRCS var_desc.cc op_desc.cc block_desc.cc program_desc.cc DEPS shape_inference op_info operator glog version) cc_library(proto_desc SRCS var_desc.cc op_desc.cc block_desc.cc program_desc.cc DEPS attribute shape_inference op_info operator glog version)
cc_library(op_registry SRCS op_registry.cc DEPS op_proto_maker op_info operator glog proto_desc) cc_library(op_registry SRCS op_registry.cc DEPS op_proto_maker op_info operator glog proto_desc)
cc_library(op_call_stack SRCS op_call_stack.cc DEPS op_proto_maker enforce) cc_library(op_call_stack SRCS op_call_stack.cc DEPS op_proto_maker enforce)
cc_test(op_call_stack_test SRCS op_call_stack_test.cc DEPS op_call_stack) cc_test(op_call_stack_test SRCS op_call_stack_test.cc DEPS op_call_stack)
cc_library(program_processing SRCS program_processing.cc DEPS framework_proto) cc_library(program_processing SRCS program_processing.cc DEPS boost proto_desc)
cc_test(program_processing_test SRCS program_processing_test.cc DEPS proto_desc program_processing) cc_test(program_processing_test SRCS program_processing_test.cc DEPS proto_desc program_processing)
if(WITH_GPU) if(WITH_GPU)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册