From f833e736212dfc6741528d2741f5316d7ae535d7 Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Thu, 17 Oct 2024 14:19:12 +0800 Subject: [PATCH] switch boost dependency in bzlmod to bcr --- example/use-anyflow-with-brpc/.bazelrc | 2 +- example/use-arena-with-brpc/.bazelrc | 2 +- example/use-arena-with-brpc/MODULE.bazel | 4 ++-- example/use-async-logger/.bazelrc | 1 - example/use-async-logger/.bazelversion | 2 +- example/use-async-logger/MODULE.bazel | 4 ++-- example/use-counter-with-bvar/.bazelrc | 1 - example/use-counter-with-bvar/.bazelversion | 2 +- example/use-counter-with-bvar/MODULE.bazel | 4 ++-- example/use-execution-queue/.bazelrc | 1 - example/use-execution-queue/.bazelversion | 2 +- example/use-execution-queue/MODULE.bazel | 4 ++-- example/use-with-bthread/.bazelrc | 3 --- example/use-with-bthread/.bazelversion | 2 +- example/use-with-bthread/MODULE.bazel | 4 ++-- example/use-with-glog/.bazelrc | 3 --- example/use-with-glog/.bazelversion | 2 +- example/use-with-glog/MODULE.bazel | 2 +- 18 files changed, 18 insertions(+), 27 deletions(-) diff --git a/example/use-anyflow-with-brpc/.bazelrc b/example/use-anyflow-with-brpc/.bazelrc index 66953518..d6df66a5 100644 --- a/example/use-anyflow-with-brpc/.bazelrc +++ b/example/use-anyflow-with-brpc/.bazelrc @@ -1,2 +1,2 @@ common --registry=https://bcr.bazel.build -common --registry=file:///home/oathdruid/src/babylon/registry +common --registry=https://baidu.github.io/babylon/registry diff --git a/example/use-arena-with-brpc/.bazelrc b/example/use-arena-with-brpc/.bazelrc index 514939c4..f9a746e4 100644 --- a/example/use-arena-with-brpc/.bazelrc +++ b/example/use-arena-with-brpc/.bazelrc @@ -1,4 +1,4 @@ common --registry=https://bcr.bazel.build common --registry=https://baidu.github.io/babylon/registry -build --compilation_mode=opt --copt=-O3 +build --compilation_mode=opt --copt=-O3 --cxxopt=-std=c++17 diff --git a/example/use-arena-with-brpc/MODULE.bazel b/example/use-arena-with-brpc/MODULE.bazel index 66368dad..3ed2de76 100644 --- a/example/use-arena-with-brpc/MODULE.bazel +++ b/example/use-arena-with-brpc/MODULE.bazel @@ -1,4 +1,4 @@ -bazel_dep(name = 'babylon', version = '1.3.2') -bazel_dep(name = 'brpc', version = '1.9.0') +bazel_dep(name = 'babylon', version = '1.4.0') +bazel_dep(name = 'brpc', version = '1.9.0.bcr.1') bazel_dep(name = 'tcmalloc', version = '0.0.0-20240411-5ed309d') single_version_override(module_name = 'protobuf', version = '25.3.arenastring') diff --git a/example/use-async-logger/.bazelrc b/example/use-async-logger/.bazelrc index 6cf21e09..04f21ad4 100644 --- a/example/use-async-logger/.bazelrc +++ b/example/use-async-logger/.bazelrc @@ -1,5 +1,4 @@ common --registry=https://bcr.bazel.build common --registry=https://baidu.github.io/babylon/registry -common --registry=https://raw.githubusercontent.com/bazelboost/registry/main build --compilation_mode opt --copt=-O3 --cxxopt=-std=c++17 diff --git a/example/use-async-logger/.bazelversion b/example/use-async-logger/.bazelversion index 643916c0..eab246c0 100644 --- a/example/use-async-logger/.bazelversion +++ b/example/use-async-logger/.bazelversion @@ -1 +1 @@ -7.3.1 +7.3.2 diff --git a/example/use-async-logger/MODULE.bazel b/example/use-async-logger/MODULE.bazel index 55bbb45d..71569e35 100644 --- a/example/use-async-logger/MODULE.bazel +++ b/example/use-async-logger/MODULE.bazel @@ -1,5 +1,5 @@ -bazel_dep(name = 'babylon', version = '1.3.2') -bazel_dep(name = 'brpc', version = '1.10.0') +bazel_dep(name = 'babylon', version = '1.4.0') +bazel_dep(name = 'brpc', version = '1.10.0.bcr.1') bazel_dep(name = 'spdlog', version = '1.14.1') bazel_dep(name = 'tcmalloc', version = '0.0.0-20240411-5ed309d') single_version_override(module_name = 'protobuf', version = '3.19.6') diff --git a/example/use-counter-with-bvar/.bazelrc b/example/use-counter-with-bvar/.bazelrc index 6cf21e09..04f21ad4 100644 --- a/example/use-counter-with-bvar/.bazelrc +++ b/example/use-counter-with-bvar/.bazelrc @@ -1,5 +1,4 @@ common --registry=https://bcr.bazel.build common --registry=https://baidu.github.io/babylon/registry -common --registry=https://raw.githubusercontent.com/bazelboost/registry/main build --compilation_mode opt --copt=-O3 --cxxopt=-std=c++17 diff --git a/example/use-counter-with-bvar/.bazelversion b/example/use-counter-with-bvar/.bazelversion index 643916c0..eab246c0 100644 --- a/example/use-counter-with-bvar/.bazelversion +++ b/example/use-counter-with-bvar/.bazelversion @@ -1 +1 @@ -7.3.1 +7.3.2 diff --git a/example/use-counter-with-bvar/MODULE.bazel b/example/use-counter-with-bvar/MODULE.bazel index cb472bbf..33f6ce49 100644 --- a/example/use-counter-with-bvar/MODULE.bazel +++ b/example/use-counter-with-bvar/MODULE.bazel @@ -1,4 +1,4 @@ -bazel_dep(name = 'babylon', version = '1.3.2') -bazel_dep(name = 'brpc', version = '1.10.0') +bazel_dep(name = 'babylon', version = '1.4.0') +bazel_dep(name = 'brpc', version = '1.10.0.bcr.1') bazel_dep(name = 'tcmalloc', version = '0.0.0-20240411-5ed309d') single_version_override(module_name = 'protobuf', version = '3.19.6') diff --git a/example/use-execution-queue/.bazelrc b/example/use-execution-queue/.bazelrc index 6cf21e09..04f21ad4 100644 --- a/example/use-execution-queue/.bazelrc +++ b/example/use-execution-queue/.bazelrc @@ -1,5 +1,4 @@ common --registry=https://bcr.bazel.build common --registry=https://baidu.github.io/babylon/registry -common --registry=https://raw.githubusercontent.com/bazelboost/registry/main build --compilation_mode opt --copt=-O3 --cxxopt=-std=c++17 diff --git a/example/use-execution-queue/.bazelversion b/example/use-execution-queue/.bazelversion index 643916c0..eab246c0 100644 --- a/example/use-execution-queue/.bazelversion +++ b/example/use-execution-queue/.bazelversion @@ -1 +1 @@ -7.3.1 +7.3.2 diff --git a/example/use-execution-queue/MODULE.bazel b/example/use-execution-queue/MODULE.bazel index cb472bbf..33f6ce49 100644 --- a/example/use-execution-queue/MODULE.bazel +++ b/example/use-execution-queue/MODULE.bazel @@ -1,4 +1,4 @@ -bazel_dep(name = 'babylon', version = '1.3.2') -bazel_dep(name = 'brpc', version = '1.10.0') +bazel_dep(name = 'babylon', version = '1.4.0') +bazel_dep(name = 'brpc', version = '1.10.0.bcr.1') bazel_dep(name = 'tcmalloc', version = '0.0.0-20240411-5ed309d') single_version_override(module_name = 'protobuf', version = '3.19.6') diff --git a/example/use-with-bthread/.bazelrc b/example/use-with-bthread/.bazelrc index 4ac1d61f..d6df66a5 100644 --- a/example/use-with-bthread/.bazelrc +++ b/example/use-with-bthread/.bazelrc @@ -1,5 +1,2 @@ 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 diff --git a/example/use-with-bthread/.bazelversion b/example/use-with-bthread/.bazelversion index 643916c0..eab246c0 100644 --- a/example/use-with-bthread/.bazelversion +++ b/example/use-with-bthread/.bazelversion @@ -1 +1 @@ -7.3.1 +7.3.2 diff --git a/example/use-with-bthread/MODULE.bazel b/example/use-with-bthread/MODULE.bazel index 3fd91a66..5423969e 100644 --- a/example/use-with-bthread/MODULE.bazel +++ b/example/use-with-bthread/MODULE.bazel @@ -1,2 +1,2 @@ -bazel_dep(name = 'babylon', version = '1.3.2') -bazel_dep(name = 'brpc', version = '1.10.0') +bazel_dep(name = 'babylon', version = '1.4.0') +bazel_dep(name = 'brpc', version = '1.10.0.bcr.1') diff --git a/example/use-with-glog/.bazelrc b/example/use-with-glog/.bazelrc index 4ac1d61f..d6df66a5 100644 --- a/example/use-with-glog/.bazelrc +++ b/example/use-with-glog/.bazelrc @@ -1,5 +1,2 @@ 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 diff --git a/example/use-with-glog/.bazelversion b/example/use-with-glog/.bazelversion index 643916c0..eab246c0 100644 --- a/example/use-with-glog/.bazelversion +++ b/example/use-with-glog/.bazelversion @@ -1 +1 @@ -7.3.1 +7.3.2 diff --git a/example/use-with-glog/MODULE.bazel b/example/use-with-glog/MODULE.bazel index 7ded965e..b7c5fdd8 100644 --- a/example/use-with-glog/MODULE.bazel +++ b/example/use-with-glog/MODULE.bazel @@ -1,2 +1,2 @@ -bazel_dep(name = 'babylon', version = '1.3.2') +bazel_dep(name = 'babylon', version = '1.4.0') bazel_dep(name = 'glog', version = '0.7.1')