Introduces a build configuration for bzlmod.
The version introduced in this module is importable in MODULE.bazel files via
python
bazel_dep(name="llvm-project-overlay", version="16.0.0-bcr.0")
llvm_project_overlay = use_extension(
"@llvm-project-overlay//utils/bazel:extensions.bzl",
"llvm_project_overlay",
)
use_repo(llvm_project_overlay, "llvm-project")Optionally, users may specify custom commits, targets and patches by overriding llvm_project_overlay.configure:
python
llvm_project_overlay.configure(
targets = ["X86"],
commit = "<some_commit>",
sha256 = "<sha_of_commit_archive>",
patches = ["<some_patch>"],
)
I'll add a comment here so you don't forget to delete before submitting