@@ -65,10 +65,10 @@ http_archive(
6565 # Export .x files.
6666 "//tools:rules_go_export.patch" ,
6767 ],
68- sha256 = "af47f30e9cbd70ae34e49866e201b3f77069abb111183f2c0297e7e74ba6bbc0 " ,
68+ sha256 = "9d72f7b8904128afb98d46bbef82ad7223ec9ff3718d419afb355fddd9f9484a " ,
6969 urls = [
70- "https://mirror.bazel.build/github.com/bazelbuild /rules_go/releases/download/v0.47.0 /rules_go-v0.47.0 .zip" ,
71- "https://github.com/bazelbuild /rules_go/releases/download/v0.47.0 /rules_go-v0.47.0 .zip" ,
70+ "https://mirror.bazel.build/github.com/bazel-contrib /rules_go/releases/download/v0.55.1 /rules_go-v0.55.1 .zip" ,
71+ "https://github.com/bazel-contrib /rules_go/releases/download/v0.55.1 /rules_go-v0.55.1 .zip" ,
7272 ],
7373)
7474
@@ -89,12 +89,32 @@ switched_rules_by_language(
8989 go = False , # Disable building proto Go libraries; use org_golang_google_genproto instead.
9090)
9191
92+ # rules_python needed by bazel_gazelle
93+ http_archive (
94+ name = "rules_python" ,
95+ sha256 = "fa532d635f29c038a64c8062724af700c30cf6b31174dd4fac120bc561a1a560" ,
96+ strip_prefix = "rules_python-1.5.1" ,
97+ url = "https://github.com/bazel-contrib/rules_python/releases/download/1.5.1/rules_python-1.5.1.tar.gz" ,
98+ )
99+
100+ load ("@rules_python//python:repositories.bzl" , "py_repositories" )
101+
102+ py_repositories ()
103+
104+ # Load C++ rules. Needs to come early because something else pulls in an older
105+ # version of rules_cc which is incompatible with Bazel 8.
106+ http_archive (
107+ name = "rules_cc" ,
108+ sha256 = "0d3b4f984c4c2e1acfd1378e0148d35caf2ef1d9eb95b688f8e19ce0c41bdf5b" ,
109+ strip_prefix = "rules_cc-0.1.4" ,
110+ url = "https://github.com/bazelbuild/rules_cc/releases/download/0.1.4/rules_cc-0.1.4.tar.gz" ,
111+ )
112+
92113http_archive (
93114 name = "bazel_gazelle" ,
94- sha256 = "32938bda16e6700063035479063d9d24c60eda8d79fd4739563f50d331cb3209 " ,
115+ sha256 = "49b14c691ceec841f445f8642d28336e99457d1db162092fd5082351ea302f1d " ,
95116 urls = [
96- "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz" ,
97- "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz" ,
117+ "https://github.com/bazel-contrib/bazel-gazelle/releases/download/v0.44.0/bazel-gazelle-v0.44.0.tar.gz"
98118 ],
99119)
100120
@@ -386,19 +406,14 @@ go_repository(
386406 version = "v1.67.1" ,
387407)
388408
389- # Load C++ rules.
390- http_archive (
391- name = "rules_cc" ,
392- sha256 = "abc605dd850f813bb37004b77db20106a19311a96b2da1c92b789da529d28fe1" ,
393- strip_prefix = "rules_cc-0.0.17" ,
394- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.17/rules_cc-0.0.17.tar.gz" ],
395- )
396-
397- # Load C++ cross-compilation toolchains.
409+ # # Load C++ cross-compilation toolchains.
398410http_archive (
399411 name = "coral_crosstool" ,
400412 patch_args = ["-p1" ],
401- patches = ["//tools:crosstool-arm-dirs.patch" ],
413+ patches = [
414+ "//tools:crosstool-arm-dirs.patch" ,
415+ "//tools:remove_windows_deps.patch" ,
416+ ],
402417 sha256 = "f86d488ca353c5ee99187579fe408adb73e9f2bb1d69c6e3a42ffb904ce3ba01" ,
403418 strip_prefix = "crosstool-8e885509123395299bed6a5f9529fdc1b9751599" ,
404419 urls = [
@@ -429,9 +444,9 @@ http_archive(
429444)
430445
431446# Load LLVM dependencies.
432- LLVM_COMMIT = "926f85db98aae66ab8f57b9981f47ddddb868c51 "
447+ LLVM_COMMIT = "cbcb48a88c3a6227cfc09f91880d5cb92a26f5f9 "
433448
434- LLVM_SHA256 = "c78c94b2a03b2cf6ef1ba035c31a6f1b0bb7913da8af5aa8d5c2061f6499d589 "
449+ LLVM_SHA256 = "356cb88e5975104628494bd02b8edef1889ea30a7dbe96b5abe6ad74ed8ba74b "
435450
436451http_archive (
437452 name = "llvm-raw" ,
@@ -479,6 +494,15 @@ http_archive(
479494 ],
480495)
481496
497+ # rules_java needed for rules_proto and grpc both.
498+ http_archive (
499+ name = "rules_java" ,
500+ urls = [
501+ "https://github.com/bazelbuild/rules_java/releases/download/8.6.2/rules_java-8.6.2.tar.gz" ,
502+ ],
503+ sha256 = "a64ab04616e76a448c2c2d8165d836f0d2fb0906200d0b7c7376f46dd62e59cc" ,
504+ )
505+
482506http_archive (
483507 name = "com_google_protobuf" ,
484508 sha256 = "e7a50ac2a8ae3754c6f1ab6123424627920e4abddd894ee4bc47d6506e86aeb9" ,
@@ -1759,10 +1783,6 @@ go_repository(
17591783 version = "v56.0.0" ,
17601784)
17611785
1762- rules_proto_dependencies ()
1763-
1764- rules_proto_toolchains ()
1765-
17661786http_archive (
17671787 name = "rules_pkg" ,
17681788 sha256 = "62eeb544ff1ef41d786e329e1536c1d541bb9bcad27ae984d57f18f314018e66" ,
0 commit comments