Skip to content

Commit

Permalink
switch boost dependency in bzlmod to bcr (#2789)
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid authored Oct 17, 2024
1 parent d39a490 commit 5cdf22f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 4 additions & 5 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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)
Expand Down

0 comments on commit 5cdf22f

Please sign in to comment.