From 9ef41ecb2a21f729f2f9c590bcc15e64184c4020 Mon Sep 17 00:00:00 2001 From: Adrian Kuegel Date: Wed, 24 Aug 2022 10:13:28 +0200 Subject: [PATCH] [mlir][Bazel] Fix bazel build. --- utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel index 6c713c8..36c0cdf 100644 --- a/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel @@ -234,6 +234,10 @@ gentbl_cc_library( ["-gen-pass-decls"], "TableGen/PassGenTest.h.inc", ), + ( + ["-gen-pass-defs"], + "TableGen/PassGenTest.cpp.inc", + ), ], tblgen = "//mlir:mlir-tblgen", td_file = "TableGen/passes.td", @@ -299,8 +303,8 @@ cc_test( "//llvm:gtest_main", "//mlir:AffineAnalysis", "//mlir:Analysis", - "//mlir:Parser", "//mlir:IR", + "//mlir:Parser", ], ) -- 2.7.4