From c0133e01d8e0842534b7497fcacf8af16b70fe34 Mon Sep 17 00:00:00 2001 From: Huihuang Zheng Date: Tue, 20 Jul 2021 16:28:51 +0800 Subject: [PATCH] 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 --- paddle/fluid/framework/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/framework/CMakeLists.txt b/paddle/fluid/framework/CMakeLists.txt index 0ed62ac93a7..485fddff4df 100644 --- a/paddle/fluid/framework/CMakeLists.txt +++ b/paddle/fluid/framework/CMakeLists.txt @@ -197,14 +197,14 @@ cc_test(operator_exception_test SRCS operator_exception_test.cc DEPS operator op cc_library(version SRCS version.cc) 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_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_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) if(WITH_GPU) -- GitLab