[PATCH] D149044: [mlir] update Bazel after 8ac8c922fb3f15706f5cb1db2cc655d30b095766
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 24 02:31:17 PDT 2023
ftynse updated this revision to Diff 516327.
ftynse added a comment.
bzl
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149044/new/
https://reviews.llvm.org/D149044
Files:
utils/bazel/llvm-project-overlay/mlir/test/Dialect/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/mlir/test/Dialect/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/test/Dialect/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/test/Dialect/BUILD.bazel
@@ -17,6 +17,7 @@
"Transform/*-source.mlir",
"Transform/*-symbol-def.mlir",
"Transform/*-symbol-decl-and-schedule.mlir",
+ "IRDL/*.irdl.mlir",
])
)
for src in glob(
@@ -25,6 +26,25 @@
"Transform/*-source.mlir",
"Transform/*-symbol-def.mlir",
"Transform/*-symbol-decl-and-schedule.mlir",
+ "IRDL/*.irdl.mlir",
]
)
]
+
+# IRDL tests are separate because these files are used as data above, and
+# cannot be both data and source.
+[
+ lit_test(
+ name = "%s.test" % src,
+ srcs = [src],
+ data = [
+ "//llvm:llvm-symbolizer",
+ "//mlir:mlir-opt",
+ "//mlir:mlir-translate",
+ "//mlir/test:lit_data",
+ ]
+ )
+ for src in glob(
+ include=["IRDL/*.irdl.mlir"],
+ )
+]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149044.516327.patch
Type: text/x-patch
Size: 1160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230424/512e5e89/attachment.bin>
More information about the llvm-commits
mailing list