Skip to content

Commit a88cb75

Browse files
committed
add brpc 1.10.0 to registry
1 parent ae87041 commit a88cb75

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
module(
2+
name = 'brpc',
3+
version = '1.10.0',
4+
compatibility_level = 1,
5+
)
6+
7+
# https://bcr.bazel.build
8+
bazel_dep(name = 'abseil-cpp', version = '20210324.2', repo_name = 'com_google_absl')
9+
bazel_dep(name = 'bazel_skylib', version = '1.0.3')
10+
bazel_dep(name = 'boringssl', version = '0.0.0-20211025-d4f1ab9')
11+
bazel_dep(name = 'protobuf', version = '3.19.6', repo_name = 'com_google_protobuf')
12+
bazel_dep(name = 'gflags', version = '2.2.2', repo_name = 'com_github_gflags_gflags')
13+
bazel_dep(name = 'glog', version = '0.5.0', repo_name = 'com_github_google_glog')
14+
bazel_dep(name = 'platforms', version = '0.0.4')
15+
bazel_dep(name = 'rules_cc', version = '0.0.1')
16+
bazel_dep(name = 'rules_proto', version = '4.0.0')
17+
bazel_dep(name = 'zlib', version = '1.2.13', repo_name = 'com_github_madler_zlib')
18+
19+
# https://baidu.github.io/babylon/registry
20+
# https://raw.githubusercontent.com/bazelboost/registry/main
21+
bazel_dep(name = 'leveldb', version = '1.23', repo_name = 'com_github_google_leveldb')
22+
bazel_dep(name = 'openssl', version = '3.3.1')
23+
bazel_dep(name = 'thrift', version = '0.20.0', repo_name = 'org_apache_thrift')
24+
25+
# test only
26+
bazel_dep(name = 'googletest', version = '1.14.0.bcr.1', repo_name = 'com_google_googletest', dev_dependency = True)
27+
bazel_dep(name = 'hedron_compile_commands', dev_dependency = True)
28+
git_override(
29+
module_name = 'hedron_compile_commands',
30+
remote = 'https://github.com/hedronvision/bazel-compile-commands-extractor.git',
31+
commit = '1e08f8e0507b6b6b1f4416a9a22cf5c28beaba93', # Jun 28, 2024
32+
)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
diff --git a/BUILD.bazel b/BUILD.bazel
2+
index b2a453e0..795e392e 100644
3+
--- a/BUILD.bazel
4+
+++ b/BUILD.bazel
5+
@@ -51,7 +51,7 @@ LINKOPTS = [
6+
"-pthread",
7+
"-ldl",
8+
] + select({
9+
- "@bazel_tools//tools/osx:darwin": [
10+
+ "@bazel_tools//tools/osx:darwin_x86_64": [
11+
"-framework CoreFoundation",
12+
"-framework CoreGraphics",
13+
"-framework CoreData",
14+
@@ -218,7 +218,7 @@ BUTIL_SRCS = [
15+
"src/butil/recordio.cc",
16+
"src/butil/popen.cpp",
17+
] + select({
18+
- "@bazel_tools//tools/osx:darwin": [
19+
+ "@bazel_tools//tools/osx:darwin_x86_64": [
20+
"src/butil/time/time_mac.cc",
21+
"src/butil/mac/scoped_mach_port.cc",
22+
],
23+
@@ -333,7 +333,7 @@ cc_library(
24+
"//bazel/config:brpc_with_glog": ["@com_github_google_glog//:glog"],
25+
"//conditions:default": [],
26+
}) + select({
27+
- "@bazel_tools//tools/osx:darwin": [":macos_lib"],
28+
+ "@bazel_tools//tools/osx:darwin_x86_64": [":macos_lib"],
29+
"//conditions:default": [],
30+
}) + select({
31+
"//bazel/config:brpc_with_boringssl": ["@boringssl//:ssl", "@boringssl//:crypto"],
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"url": "https://github.com/apache/brpc/archive/refs/tags/1.10.0.tar.gz",
3+
"strip_prefix": "brpc-1.10.0",
4+
"integrity": "sha256-/k6xC0yhpZ4PcQhlUrLYiXr9Zt+TtTwYrYP2qTcXzC0=",
5+
"patch_strip": 1,
6+
"patches": {
7+
"osx-darwin.patch": "sha256-HhiWH/lqS3TLLzHDJ5aPrEM9m6qXuUncIKRv5ii8zC4="
8+
}
9+
}

0 commit comments

Comments
 (0)