Add BUILD.bazel files for most of the MLIR tests and lit tests itself. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D133455
18 lines
326 B
Python
18 lines
326 B
Python
load("//llvm:lit_test.bzl", "lit_test")
|
|
|
|
licenses(["notice"])
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
[
|
|
lit_test(
|
|
name = "%s.test" % src,
|
|
srcs = [src],
|
|
data = [
|
|
"//mlir:mlir-opt",
|
|
"//mlir/test:lit_data",
|
|
],
|
|
)
|
|
for src in glob(["**/*.mlir"])
|
|
]
|