Skip to content

Commit d16ed82

Browse files
committed
Expose full LLVM sources
We need the `cmake` config and the `.a` files for IWYU CMK-22333 Change-Id: I0e0a213450fa6f9bf222608eb4f49b0786af5905
1 parent 6bf5c0c commit d16ed82

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

MODULE.bazel

+5
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ git_override(
7575
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
7676
)
7777

78+
single_version_override(
79+
module_name = "toolchains_llvm",
80+
patch_strip = 1,
81+
patches = ["//bazel/patches:toolchains_llvm-expose_full_archive.patch"],
82+
)
7883
single_version_override(
7984
module_name = "protobuf",
8085
patch_strip = 1,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff --git a/toolchain/BUILD.llvm_repo b/toolchain/BUILD.llvm_repo
2+
index f2bbc76..963c772 100644
3+
--- a/toolchain/BUILD.llvm_repo
4+
+++ b/toolchain/BUILD.llvm_repo
5+
@@ -25,6 +25,11 @@ exports_files(glob(
6+
allow_empty = True,
7+
))
8+
9+
+filegroup(
10+
+ name = "srcs",
11+
+ srcs = glob(["**"]),
12+
+)
13+
+
14+
## LLVM toolchain files
15+
16+
filegroup(

0 commit comments

Comments
 (0)