Skip to content

Commit 0cfc663

Browse files
committed
fix CI
1 parent ae3f847 commit 0cfc663

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.bazelci/presubmit.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,15 @@ buildifier:
4343
build_flags:
4444
- "--noenable_bzlmod"
4545
- "--build_tag_filters=-integration-test"
46+
# recent abseil-cpp requires C++17 which is not used by default in Bazel 7
47+
- "--cxxopt=-std=c++17"
48+
- "--host_cxxopt=-std=c++17"
4649
test_flags:
4750
- "--noenable_bzlmod"
4851
- "--test_tag_filters=-integration-test"
52+
# recent abseil-cpp requires C++17 which is not used by default in Bazel 7
53+
- "--cxxopt=-std=c++17"
54+
- "--host_cxxopt=-std=c++17"
4955
.common_workspace_flags: &common_workspace_flags
5056
skip_in_bazel_downstream_pipeline: "Bazel 9 doesn't support workspace"
5157
test_flags:

examples/py_proto_library/WORKSPACE

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,10 @@ python_register_toolchains(
2929
)
3030

3131
# Then we need to setup dependencies in order to use py_proto_library
32-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
33-
34-
http_archive(
35-
name = "com_google_protobuf",
36-
sha256 = "4fc5ff1b2c339fb86cd3a25f0b5311478ab081e65ad258c6789359cd84d421f8",
37-
strip_prefix = "protobuf-26.1",
38-
urls = ["https://github.com/protocolbuffers/protobuf/archive/v26.1.tar.gz"],
39-
)
40-
4132
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
4233

4334
protobuf_deps()
35+
36+
# Needed to load @compatibility_proxy for rules_java
37+
load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
38+
rules_java_dependencies()

0 commit comments

Comments
 (0)