From c976300644a4534cdfe8c304b6acce98d7b032fc Mon Sep 17 00:00:00 2001 From: LiYuRio <63526175+LiYuRio@users.noreply.github.com> Date: Wed, 10 Nov 2021 09:15:43 +0800 Subject: [PATCH] fix brpc dependences (#37064) --- paddle/fluid/distributed/fleet_executor/CMakeLists.txt | 2 +- paddle/fluid/framework/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/distributed/fleet_executor/CMakeLists.txt b/paddle/fluid/distributed/fleet_executor/CMakeLists.txt index 8598657c047..0941b2075b8 100644 --- a/paddle/fluid/distributed/fleet_executor/CMakeLists.txt +++ b/paddle/fluid/distributed/fleet_executor/CMakeLists.txt @@ -5,7 +5,7 @@ endif() proto_library(interceptor_message_proto SRCS interceptor_message.proto) if(WITH_DISTRIBUTE AND NOT (WITH_ASCEND OR WITH_ASCEND_CL)) - set(BRPC_DEPS brpc) + set(BRPC_DEPS brpc ssl crypto) else() set(BRPC_DEPS "") endif() diff --git a/paddle/fluid/framework/CMakeLists.txt b/paddle/fluid/framework/CMakeLists.txt index 19a7b4389b7..7a3a287af33 100644 --- a/paddle/fluid/framework/CMakeLists.txt +++ b/paddle/fluid/framework/CMakeLists.txt @@ -125,7 +125,7 @@ cc_test(var_type_traits_test SRCS var_type_traits_test.cc DEPS var_type_traits) set(BRPC_DEPS "") if(WITH_PSLIB OR WITH_PSCORE) - set(BRPC_DEPS brpc) + set(BRPC_DEPS brpc ssl crypto) if(WITH_PSLIB_BRPC) set(BRPC_DEPS pslib_brpc) endif() -- GitLab