[llvm] [bazel] Add explicit dep on protobuf (PR #168928)

Keith Smiley via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 09:17:34 PST 2025


================
@@ -3,34 +3,35 @@
 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 """bzlmod configuration for llvm-project"""
+
 module(name = "llvm-project-overlay")
 
 bazel_dep(name = "apple_support", version = "1.24.1", repo_name = "build_bazel_apple_support")
 bazel_dep(name = "bazel_skylib", version = "1.8.2")
 bazel_dep(name = "platforms", version = "1.0.0")
+bazel_dep(name = "protobuf", version = "31.1", repo_name = "com_google_protobuf")
----------------
keith wrote:

Moving to a separate package sgtm. I would also be interested to hear where specifically this was an issue since these rules transitively depended on protobuf before, and bazel was still pulling that in. I wouldn't be surprised if because of the previously implicit nature it was less eager about fetching it though.

https://github.com/llvm/llvm-project/pull/168928


More information about the llvm-commits mailing list