Upgrade rules_cc to 0.2.25 and bazel_features to 1.50.0 in XLA and TensorFlow

- Bump rules_cc from 0.2.20 to 0.2.25 in MODULE.bazel and workspace3.bzl for
  both XLA and TensorFlow.
- Bump bazel_features from 1.25.0 to 1.50.0 in workspace3.bzl for both XLA and
  TensorFlow to provide bazel_features.cc.cc_common_is_in_rules_cc used by
  rules_cc 0.2.25 in WORKSPACE mode.

PiperOrigin-RevId: 983818634
This commit is contained in:
Adrian Kuegel
2026-09-18 07:52:51 -07:00
committed by TensorFlower Gardener
parent a34fdf2e24
commit ce721307cd
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ single_version_override(
bazel_dep(name = "google_cloud_cpp", version = "3.0.0-rc1", repo_name = "com_github_googlecloudplatform_google_cloud_cpp")
bazel_dep(name = "crc32c", version = "1.1.0", repo_name = "com_github_google_crc32c")
bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli")
bazel_dep(name = "rules_cc", version = "0.2.20")
bazel_dep(name = "rules_cc", version = "0.2.25")
bazel_dep(name = "curl", version = "8.11.0.bcr.5")
bazel_dep(name = "rules_webtesting", version = "0.4.1", repo_name = "io_bazel_rules_webtesting")
bazel_dep(name = "rules_closure", version = "0.15.0", repo_name = "io_bazel_rules_closure")
+6 -6
View File
@@ -60,19 +60,19 @@ def workspace():
tf_http_archive(
name = "bazel_features",
sha256 = "4fd9922d464686820ffd8fcefa28ccffa147f7cdc6b6ac0d8b07fde565c65d66",
strip_prefix = "bazel_features-1.25.0",
sha256 = "094367e732ece23f334eaf84089a720b861d053beeba6a6a68356d3aee1dc32b",
strip_prefix = "bazel_features-1.50.0",
urls = tf_mirror_urls(
"https://github.com/bazel-contrib/bazel_features/releases/download/v1.25.0/bazel_features-v1.25.0.tar.gz",
"https://github.com/bazel-contrib/bazel_features/releases/download/v1.50.0/bazel_features-v1.50.0.tar.gz",
),
)
tf_http_archive(
name = "rules_cc",
sha256 = "69e05df29f0010ba248ef8dafc1f084c8fd2f5c553da634422d8167f5c4b277b",
strip_prefix = "rules_cc-0.2.20",
sha256 = "bd7124a844d0403b4b353bcea34d6c8b2ba88dc26881c26c9ee668da89b71846",
strip_prefix = "rules_cc-0.2.25",
urls = tf_mirror_urls(
"https://github.com/bazelbuild/rules_cc/releases/download/0.2.20/rules_cc-0.2.20.tar.gz",
"https://github.com/bazelbuild/rules_cc/releases/download/0.2.25/rules_cc-0.2.25.tar.gz",
),
)
+1 -1
View File
@@ -23,7 +23,7 @@ bazel_dep(name = "pybind11_abseil", version = "202402.0")
bazel_dep(name = "pybind11_bazel", version = "3.0.0")
bazel_dep(name = "pybind11_protobuf", version = "0.0.0-20250210-f02a2b7")
bazel_dep(name = "re2", version = "2025-11-05.bcr.1", repo_name = "com_googlesource_code_re2")
bazel_dep(name = "rules_cc", version = "0.2.20")
bazel_dep(name = "rules_cc", version = "0.2.25")
bazel_dep(name = "rules_java", version = "8.16.1")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_python", version = "2.2.0")
+6 -6
View File
@@ -56,17 +56,17 @@ def workspace():
tf_http_archive(
name = "bazel_features",
sha256 = "4fd9922d464686820ffd8fcefa28ccffa147f7cdc6b6ac0d8b07fde565c65d66",
strip_prefix = "bazel_features-1.25.0",
urls = tf_mirror_urls("https://github.com/bazel-contrib/bazel_features/releases/download/v1.25.0/bazel_features-v1.25.0.tar.gz"),
sha256 = "094367e732ece23f334eaf84089a720b861d053beeba6a6a68356d3aee1dc32b",
strip_prefix = "bazel_features-1.50.0",
urls = tf_mirror_urls("https://github.com/bazel-contrib/bazel_features/releases/download/v1.50.0/bazel_features-v1.50.0.tar.gz"),
)
tf_http_archive(
name = "rules_cc",
sha256 = "69e05df29f0010ba248ef8dafc1f084c8fd2f5c553da634422d8167f5c4b277b",
strip_prefix = "rules_cc-0.2.20",
sha256 = "bd7124a844d0403b4b353bcea34d6c8b2ba88dc26881c26c9ee668da89b71846",
strip_prefix = "rules_cc-0.2.25",
urls = tf_mirror_urls(
"https://github.com/bazelbuild/rules_cc/releases/download/0.2.20/rules_cc-0.2.20.tar.gz",
"https://github.com/bazelbuild/rules_cc/releases/download/0.2.25/rules_cc-0.2.25.tar.gz",
),
)