[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:56:59 PDT 2021
GMNGeoffrey created this revision.
GMNGeoffrey requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Updates the Bazel build for
https://github.com/llvm/llvm-project/commit/9854f2f30f by extracting a
library from llvm-diff. Note that this does not include the new
llvm-livepatch binary, for which the CMake file was added accidentally
and reverted in https://github.com/llvm/llvm-project/commit/fec8f1a008.
Repository:
rG LLVM Github Monorepo
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
@@ -2491,6 +2491,17 @@
],
)
+cc_library(
+ name = "Diff",
+ testonly = True,
+ srcs = glob(["tools/llvm-diff/lib/*.cpp"]),
+ hdrs = glob(["tools/llvm-diff/lib/*.h"]),
+ deps = [
+ ":Core",
+ ":Support",
+ ],
+)
+
################################################################################
# LLVM toolchain and development binaries
@@ -4072,9 +4083,8 @@
copts = llvm_copts,
stamp = 0,
deps = [
- ":AsmParser",
- ":BitReader",
":Core",
+ ":Diff",
":IRReader",
":Support",
],
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107586.364547.patch
Type: text/x-patch
Size: 823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210805/d8d89269/attachment.bin>
More information about the llvm-commits
mailing list