[PATCH] D147766: Fix Bazel build after "Implement Pass and Dialect plugins for mlir-opt"
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 7 01:11:01 PDT 2023
tlongeri created this revision.
Herald added subscribers: bviyer, Moerafaat, zero9178, bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini, thopre.
Herald added a project: All.
This revision was not accepted when it landed; it landed in state "Draft".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGeee3477722de: Fix Bazel build after "Implement Pass and Dialect plugins for mlir-opt" (authored by tlongeri, committed by ftynse).
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.
Herald added a project: LLVM.
Changed prior to commit:
https://reviews.llvm.org/D147766?vs=511620&id=511637#toc
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D147766
Files:
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -7128,6 +7128,25 @@
],
)
+cc_library(
+ name = "PluginsLib",
+ srcs = [
+ "lib/Tools/Plugins/DialectPlugin.cpp",
+ "lib/Tools/Plugins/PassPlugin.cpp",
+ ],
+ hdrs = [
+ "include/mlir/Tools/Plugins/DialectPlugin.h",
+ "include/mlir/Tools/Plugins/PassPlugin.h",
+ ],
+ includes = ["include"],
+ deps = [
+ ":IR",
+ ":Pass",
+ ":Support",
+ "//llvm:Support",
+ ],
+)
+
cc_library(
name = "MlirOptLib",
srcs = [
@@ -7144,6 +7163,7 @@
":Observers",
":Parser",
":Pass",
+ ":PluginsLib",
":Support",
"//llvm:Support",
],
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147766.511637.patch
Type: text/x-patch
Size: 906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230407/7ab35e01/attachment.bin>
More information about the llvm-commits
mailing list