[mlir] fix python bindings cmake
authorAlex Zinenko <zinenko@google.com>
Wed, 13 Oct 2021 15:29:19 +0000 (17:29 +0200)
committerAlex Zinenko <zinenko@google.com>
Wed, 13 Oct 2021 15:29:45 +0000 (17:29 +0200)
mlir/python/CMakeLists.txt

index ed4eb6c..8c60a31 100644 (file)
@@ -108,7 +108,9 @@ declare_mlir_dialect_python_bindings(
   ADD_TO_PARENT MLIRPythonSources.Dialects
   ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir"
   TD_FILE dialects/MemRefOps.td
-  SOURCES dialects/memref.py
+  SOURCES
+    dialects/memref.py
+    dialects/_memref_ops_ext.py
   DIALECT_NAME memref)
 
 declare_mlir_dialect_python_bindings(