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 a48d4cec bump bzlmod version to 1.10.0 (#2705)
a48d4cec is described below

commit a48d4cec87f448f80a93f265106422f1628ebf09
Author: Kevin Li <oathdr...@live.cn>
AuthorDate: Tue Jul 23 10:33:41 2024 +0800

    bump bzlmod version to 1.10.0 (#2705)
    
    * bump bzlmod version to 1.10.0
    
    * bump bazel version to 7.2.1
    
    * fix code style in MODULE.bazel
---
 .bazelversion    |  2 +-
 MODULE.bazel     |  8 +++++++-
 WORKSPACE.bzlmod | 15 ---------------
 3 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/.bazelversion b/.bazelversion
index a8a18875..b26a34e4 100644
--- a/.bazelversion
+++ b/.bazelversion
@@ -1 +1 @@
-7.1.2
+7.2.1
diff --git a/MODULE.bazel b/MODULE.bazel
index 0190a3d0..d7e8a969 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,6 +1,6 @@
 module(
   name = 'brpc',
-  version = '1.9.0',
+  version = '1.10.0',
   compatibility_level = 1,
 )
 
@@ -24,3 +24,9 @@ bazel_dep(name = 'thrift', version = '0.20.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)
+bazel_dep(name = 'hedron_compile_commands', dev_dependency = True)
+git_override(
+    module_name = 'hedron_compile_commands',
+    remote = 
'https://github.com/hedronvision/bazel-compile-commands-extractor.git',
+    commit = '1e08f8e0507b6b6b1f4416a9a22cf5c28beaba93', # Jun 28, 2024
+)
diff --git a/WORKSPACE.bzlmod b/WORKSPACE.bzlmod
index d0f39e7d..e69de29b 100644
--- a/WORKSPACE.bzlmod
+++ b/WORKSPACE.bzlmod
@@ -1,15 +0,0 @@
-load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
-
-#
-# Tools Dependencies
-#
-# Hedron's Compile Commands Extractor for Bazel
-# https://github.com/hedronvision/bazel-compile-commands-extractor
-http_archive(
-    name = "hedron_compile_commands",
-    url = 
"https://github.com/hedronvision/bazel-compile-commands-extractor/archive/3dddf205a1f5cde20faf2444c1757abe0564ff4c.tar.gz";,
-    strip_prefix = 
"bazel-compile-commands-extractor-3dddf205a1f5cde20faf2444c1757abe0564ff4c",
-    sha256 = 
"3cd0e49f0f4a6d406c1d74b53b7616f5e24f5fd319eafc1bf8eee6e14124d115",
-)
-load("@hedron_compile_commands//:workspace_setup.bzl", 
"hedron_compile_commands_setup")
-hedron_compile_commands_setup()


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to