diff options
author | Tomás Longeri <tlongeri@google.com> | 2023-04-07 10:09:12 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2023-04-07 10:10:46 +0200 |
commit | eee3477722dea32e3d5e9d3a517e1bd5e124a1bf (patch) | |
tree | 407b5c6b77a0d5db03d8b542e7553cbc5a20a7fe /utils | |
parent | b21dafa3ddf5ffef682374a5b2fbc22560089421 (diff) | |
download | llvm-eee3477722dea32e3d5e9d3a517e1bd5e124a1bf.tar.gz |
Fix Bazel build after "Implement Pass and Dialect plugins for mlir-opt"
Differential Revision: https://reviews.llvm.org/D147766
Diffstat (limited to 'utils')
-rw-r--r-- | utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index 51246025c6da..2880e05514d3 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -7129,6 +7129,25 @@ cc_library( ) 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 = [ "include/mlir/Tools/ParseUtilities.h", @@ -7144,6 +7163,7 @@ cc_library( ":Observers", ":Parser", ":Pass", + ":PluginsLib", ":Support", "//llvm:Support", ], |