File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 4545 cache_key : Bazel7
4646 image : " us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:7.1.2-cf84e92285ca133b9c8104ad7b14d70e953cbb8e"
4747 targets : " //src/... //third_party/utf8_range/..."
48- - config : { name: "Bazel7 with Bzlmod", flags: --enable_bzlmod --enable_workspace }
48+ - config : { name: "Bazel7 with Bzlmod", flags: --enable_bzlmod --enable_workspace --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --cxxopt="-Wno-self-assign-overloaded" }
4949 cache_key : Bazel7bzlmod
5050 image : " us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:7.1.2-cf84e92285ca133b9c8104ad7b14d70e953cbb8e"
5151 targets : " //src/... //third_party/utf8_range/..."
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ module(
1515bazel_dep (name = "abseil-cpp" , version = "20230802.0.bcr.1" , repo_name = "com_google_absl" )
1616bazel_dep (name = "bazel_skylib" , version = "1.7.0" )
1717bazel_dep (name = "jsoncpp" , version = "1.9.5" )
18- bazel_dep (name = "rules_cc" , version = "0.0.9 " )
18+ bazel_dep (name = "rules_cc" , version = "0.0.13 " )
1919bazel_dep (name = "rules_fuzzing" , version = "0.5.2" )
2020bazel_dep (name = "rules_java" , version = "7.11.1" )
2121bazel_dep (name = "rules_jvm_external" , version = "6.3" )
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ bzl_library(
116116 "//bazel/common:proto_common_bzl" ,
117117 "//bazel/common:proto_info_bzl" ,
118118 "@proto_bazel_features//:features" ,
119+ "@rules_cc//cc:find_cc_toolchain_bzl" ,
119120 ],
120121)
121122
Original file line number Diff line number Diff line change @@ -90,11 +90,11 @@ def protobuf_deps():
9090 )
9191
9292 if not native .existing_rule ("rules_cc" ):
93- _github_archive (
93+ http_archive (
9494 name = "rules_cc" ,
95- repo = "https://github.com/bazelbuild/rules_cc" ,
96- commit = "c8c38f8c710cbbf834283e4777916b68261b359c" , # 0.0.9
97- sha256 = "5f862a44bbd032e1b48ed53c9c211ba2a1da60e10c5baa01c97369c249299ecb " ,
95+ urls = [ "https://github.com/bazelbuild/rules_cc/releases/download/0.0.13/rules_cc-0.0.13.tar.gz" ] ,
96+ sha256 = "d9bdd3ec66b6871456ec9c965809f43a0901e692d754885e89293807762d3d80" ,
97+ strip_prefix = "rules_cc-0.0.13 " ,
9898 )
9999
100100 if not native .existing_rule ("rules_java" ):
You can’t perform that action at this time.
0 commit comments