Files
llvm/utils/bazel/MODULE.bazel
Keith Smiley 9626c90c33 [bazel] Use zlib-ng from the BCR (#169450)
This way if a downstream project also uses this, it is dedup'd
2025-11-24 20:37:05 -08:00

40 lines
1.3 KiB
Python

# This file is licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# 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")
bazel_dep(name = "rules_android", version = "0.6.6")
bazel_dep(name = "rules_cc", version = "0.2.11")
bazel_dep(name = "rules_foreign_cc", version = "0.15.1")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_shell", version = "0.6.1")
bazel_dep(name = "zlib-ng", version = "2.0.7", repo_name = "llvm_zlib")
bazel_dep(name = "zstd", version = "1.5.7", repo_name = "llvm_zstd")
llvm_repos_extension = use_extension(":extensions.bzl", "llvm_repos_extension")
use_repo(
llvm_repos_extension,
"gmp",
"llvm-raw",
"mpc",
"mpfr",
"nanobind",
"pfm",
"pybind11",
"pyyaml",
"robin_map",
"vulkan_headers",
"vulkan_sdk",
)
llvm_configure = use_repo_rule("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
llvm_configure(name = "llvm-project")