Add brpc version 1.6.1 (#2774)

pull/2779/head^2
igavintang 1 year ago committed by GitHub
parent 7a97cd05c7
commit 8ae3e0ab08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      packages/b/brpc/patches/1.6.1/cmake.patch
  2. 2
      packages/b/brpc/xmake.lua

@ -0,0 +1,20 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f364cd13..b5017cdd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -225,14 +225,13 @@ set(DYNAMIC_LIB
${CMAKE_THREAD_LIBS_INIT}
${THRIFT_LIB}
${THRIFTNB_LIB}
- ${OPENSSL_CRYPTO_LIBRARY}
dl
z)
if(WITH_MESALINK)
list(APPEND DYNAMIC_LIB ${MESALINK_LIB})
else()
- list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY})
+ list(APPEND DYNAMIC_LIB ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})
endif()
if(WITH_RDMA)

@ -3,6 +3,8 @@ package("brpc")
set_description("brpc is an Industrial-grade RPC framework using C++ Language, which is often used in high performance system such as Search, Storage, Machine learning, Advertisement, Recommendation etc.")
add_urls("https://github.com/apache/brpc/archive/refs/tags/$(version).tar.gz")
add_versions("1.6.1", "d9eb93683b0e4cb583aacdf2357c3e3e613fbf797c4fafd0eae1d09d5ea50964")
add_patches("1.6.1", path.join(os.scriptdir(), "patches", "1.6.1", "cmake.patch"), "046e590994ad302127d4cb7b1b2d8231db5f7c30c3948a0172d0dca9bef1da0b")
add_versions("1.5.0", "5ce178e3070ecdf9576a8917e3f65d96085f437bfbf9f1d09d46bca1375938cf")
add_patches("1.5.0", path.join(os.scriptdir(), "patches", "1.5.0", "cmake.patch"), "af6eb76c9eccedaba1ff39d8f36280a09f0476848b24ef5330a350cd06900244")
add_versions("1.4.0", "6ea39d8984217f62ef954b7ebc0dfa724c62472a5ae7033ed189f994f28b9e30")

Loading…
Cancel
Save