代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/pin-server 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 33aad2ac03adb20a71c430d5daa2ee52a6a96480 Mon Sep 17 00:00:00 2001
From: dingguangya <dingguangya1@huawei.com>
Date: Mon, 14 Aug 2023 14:45:31 +0800
Subject: [PATCH] [Pin-server] fix the adaptation to grpc-1.54.2
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0a72863..df8b634 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,6 +76,8 @@ add_library(plg_grpc_proto STATIC
${plg_proto_srcs}
${plg_proto_hdrs})
target_link_libraries(plg_grpc_proto
+ ${GRPC_LIBRARY}
+ ${GPR_LIBRARY}
${GRPC_PP_REFLECTION_LIBRARY}
${GRPC_PP_LIBRARY}
${PROTOBUF_LIBRARY})
@@ -109,6 +111,8 @@ target_link_libraries(pin_server
pin_user
${JSONCPP_LIBRARY}
plg_grpc_proto
+ ${GRPC_LIBRARY}
+ ${GPR_LIBRARY}
${GRPC_PP_REFLECTION_LIBRARY}
${GRPC_PP_LIBRARY}
${PROTOBUF_LIBRARY}
diff --git a/cmake/common.cmake b/cmake/common.cmake
index cf48699..033d8c3 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -35,6 +35,8 @@ find_library(GRPC_PP_LIBRARY grpc++)
_CHECK(GRPC_PP_LIBRARY "GRPC_PP_LIBRARY-NOTFOUND" "libgrpc++.so")
find_library(GRPC_LIBRARY grpc)
_CHECK(GRPC_LIBRARY "GRPC_LIBRARY-NOTFOUND" "libgrpc.so")
+find_library(GPR_LIBRARY gpr)
+_CHECK(GPR_LIBRARY "GPR_LIBRARY-NOTFOUND" "libgpr.so")
# check abseil_synchronization
find_library(ABSEIL_SYNC_LIBRARY absl_synchronization)
--
2.33.0.windows.2
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。