[PATCH] D107586: [Bazel] Update for 9854f2f30f (Diff library)
Geoffrey Martin-Noble via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 5 10:59:52 PDT 2021
GMNGeoffrey updated this revision to Diff 364550.
GMNGeoffrey added a comment.
- Move Diff to testonly library section
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107586/new/
https://reviews.llvm.org/D107586
Files:
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -2457,7 +2457,6 @@
"tools/llvm-exegesis/lib/*.cpp",
"tools/llvm-exegesis/lib/X86/*.cpp",
"tools/llvm-exegesis/lib/X86/*.h",
-
# We have to include these headers here as well as in the `hdrs` below
# to allow the `.cpp` files to use file-relative-inclusion to find
# them, even though consumers of this library use inclusion relative to
@@ -3831,6 +3830,17 @@
],
)
+cc_library(
+ name = "Diff",
+ testonly = True,
+ srcs = glob(["tools/llvm-diff/lib/*.cpp"]),
+ hdrs = glob(["tools/llvm-diff/lib/*.h"]),
+ deps = [
+ ":Core",
+ ":Support",
+ ],
+)
+
# A hacky library to expose some internal headers of gtest to its own
# implementation source files using a stripped include prefix rather than
# file-relative-inclusion.
@@ -4072,9 +4082,8 @@
copts = llvm_copts,
stamp = 0,
deps = [
- ":AsmParser",
- ":BitReader",
":Core",
+ ":Diff",
":IRReader",
":Support",
],
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107586.364550.patch
Type: text/x-patch
Size: 1263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210805/44888fde/attachment-0001.bin>
More information about the llvm-commits
mailing list