This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 5cdf22f1 switch boost dependency in bzlmod to bcr (#2789)
5cdf22f1 is described below
commit 5cdf22f158722b3b11c7eabb7632690d719ccc4b
Author: Kevin Li <[email protected]>
AuthorDate: Thu Oct 17 13:43:12 2024 +0800
switch boost dependency in bzlmod to bcr (#2789)
---
.bazelrc | 3 +--
MODULE.bazel | 9 ++++-----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/.bazelrc b/.bazelrc
index e9aa52ad..3ffec2dc 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -18,10 +18,9 @@
#
common --registry=https://bcr.bazel.build
common --registry=https://baidu.github.io/babylon/registry
-common --registry=https://raw.githubusercontent.com/bazelboost/registry/main
build --cxxopt="-std=c++17"
-# Use gnu11 for asm keyword.
+# Use gnu17 for asm keyword.
build --conlyopt="-std=gnu17"
# Enable position independent code (this is the default on macOS and Windows)
diff --git a/MODULE.bazel b/MODULE.bazel
index d7e8a969..3ce15203 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -4,7 +4,7 @@ module(
compatibility_level = 1,
)
-# https://bcr.bazel.build
+# --registry=https://bcr.bazel.build
bazel_dep(name = 'abseil-cpp', version = '20210324.2', repo_name =
'com_google_absl')
bazel_dep(name = 'bazel_skylib', version = '1.0.3')
bazel_dep(name = 'boringssl', version = '0.0.0-20211025-d4f1ab9')
@@ -16,11 +16,10 @@ bazel_dep(name = 'rules_cc', version = '0.0.1')
bazel_dep(name = 'rules_proto', version = '4.0.0')
bazel_dep(name = 'zlib', version = '1.2.13', repo_name =
'com_github_madler_zlib')
-# https://baidu.github.io/babylon/registry
-# https://raw.githubusercontent.com/bazelboost/registry/main
+# --registry=https://baidu.github.io/babylon/registry
bazel_dep(name = 'leveldb', version = '1.23', repo_name =
'com_github_google_leveldb')
-bazel_dep(name = 'openssl', version = '3.3.1')
-bazel_dep(name = 'thrift', version = '0.20.0', repo_name = 'org_apache_thrift')
+bazel_dep(name = 'openssl', version = '3.3.2')
+bazel_dep(name = 'thrift', version = '0.21.0', repo_name = 'org_apache_thrift')
# test only
bazel_dep(name = 'googletest', version = '1.14.0.bcr.1', repo_name =
'com_google_googletest', dev_dependency = True)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]