[PATCH] D146992: Fix bazel build for mlir-opt
    Chenguang Wang via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 27 11:57:57 PDT 2023
    
    
  
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG98bd4244e077: Fix bazel build for mlir-opt (authored by wecing).
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146992/new/
https://reviews.llvm.org/D146992
Files:
  utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
  utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
@@ -508,6 +508,21 @@
     ],
 )
 
+cc_library(
+    name = "TestOneToNTypeConversion",
+    srcs = glob(["lib/Conversion/OneToNTypeConversion/*.cpp"]),
+    defines = ["MLIR_CUDA_CONVERSIONS_ENABLED"],
+    includes = ["lib/Dialect/Test"],
+    deps = [
+        ":TestDialect",
+        "//mlir:FuncDialect",
+        "//mlir:FuncTransforms",
+        "//mlir:IR",
+        "//mlir:Pass",
+        "//mlir:TransformUtils",
+    ],
+)
+
 cc_library(
     name = "TestVectorToSPIRV",
     srcs = glob(["lib/Conversion/VectorToSPIRV/*.cpp"]),
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
@@ -7209,6 +7209,7 @@
         "//mlir/test:TestMath",
         "//mlir/test:TestMemRef",
         "//mlir/test:TestNVGPU",
+        "//mlir/test:TestOneToNTypeConversion",
         "//mlir/test:TestPDLL",
         "//mlir/test:TestPass",
         "//mlir/test:TestReducer",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146992.508746.patch
Type: text/x-patch
Size: 1297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230327/a0889c68/attachment.bin>
    
    
More information about the llvm-commits
mailing list