Skip to content

Commit 10dd404

Browse files
committed
[bazel] Make DeltaPasses.def available for fea6b38
1 parent faefb70 commit 10dd404

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5582,6 +5582,12 @@ binary_alias(
55825582
binary = ":llvm-readobj",
55835583
)
55845584

5585+
# Workaround inability to put `.def` files into `srcs`.
5586+
cc_library(
5587+
name = "llvm-reduce-defs-lib",
5588+
textual_hdrs = glob(["tools/llvm-reduce/*.def"]),
5589+
)
5590+
55855591
cc_binary(
55865592
name = "llvm-reduce",
55875593
srcs = glob([
@@ -5609,6 +5615,7 @@ cc_binary(
56095615
":TargetParser",
56105616
":TransformUtils",
56115617
":config",
5618+
":llvm-reduce-defs-lib",
56125619
],
56135620
)
56145621

0 commit comments

Comments
 (0)