Skip to content

Commit

Permalink
Update .bazelversion and support matrix after releasing Bazel 8.0.0
Browse files Browse the repository at this point in the history
pywrapper_template.txt change was due to #24256 (comment)

PiperOrigin-RevId: 705079774
Change-Id: I4acbce5096b87e30add5cba1632fae1eab7627c0
  • Loading branch information
meteorcloudy authored and copybara-github committed Dec 11, 2024
1 parent 63f319b commit 51afbd6
Show file tree
Hide file tree
Showing 6 changed files with 233 additions and 422 deletions.
10 changes: 0 additions & 10 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
common --enable_platform_specific_config
common --incompatible_use_plus_in_repo_names
common --experimental_google_legacy_api # needed by protobuf

# For @rules_java doc generation only, can be dropped after Bazel 8
common --experimental_rule_extension_api

# Shared configuration flags to build and test Bazel on RBE.
build:remote_shared --remote_instance_name=projects/bazel-untrusted/instances/default_instance
Expand Down Expand Up @@ -39,8 +34,6 @@ common --check_direct_dependencies=error
# Add mirrors for certain download URLs
common --experimental_downloader_config=bazel_downloader.cfg

common --noenable_workspace

# Enable modern C++ features
build:linux --cxxopt=-std=c++17
build:linux --host_cxxopt=-std=c++17
Expand All @@ -63,9 +56,6 @@ build --java_language_version=21
build --tool_java_language_version=21
build --tool_java_runtime_version=21

# Fail if a glob doesn't match anything (https://github.com/bazelbuild/bazel/issues/8195)
common --incompatible_disallow_empty_glob

# User-specific .bazelrc
try-import %workspace%/user.bazelrc

Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.1
8.0.0
4 changes: 3 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bazel_dep(name = "rules_python", version = "0.40.0")
bazel_dep(name = "rules_testing", version = "0.6.0")
bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest")
bazel_dep(name = "with_cfg.bzl", version = "0.6.0")
bazel_dep(name = "abseil-cpp", version = "20240722.0")
bazel_dep(name = "abseil-cpp", version = "20240722.0.bcr.2")
bazel_dep(name = "rules_shell", version = "0.2.0")

# repo_name needs to be used, until WORKSPACE mode is to be supported in bazel_tools
Expand Down Expand Up @@ -78,10 +78,12 @@ local_path_override(
# The following Bazel modules are not direct dependencies for building Bazel,
# but are required for visibility from DIST_ARCHIVE_REPOS in repositories.bzl
bazel_dep(name = "apple_support", version = "1.15.1")
bazel_dep(name = "rules_apple", version = "3.16.0")
bazel_dep(name = "bazel_features", version = "1.21.0")
bazel_dep(name = "c-ares", version = "1.15.0")
bazel_dep(name = "rules_go", version = "0.48.0")
bazel_dep(name = "rules_kotlin", version = "1.9.6")
bazel_dep(name = "re2", version = "2024-07-02.bcr.1")

# =========================================
# Java dependencies
Expand Down
Loading

0 comments on commit 51afbd6

Please sign in to comment.