summaryrefslogtreecommitdiff
path: root/mlir/cmake/modules/AddMLIRPython.cmake
diff options
context:
space:
mode:
authorRahul Kayaith <rkayaith@gmail.com>2023-07-04 22:21:26 -0400
committerRahul Kayaith <rkayaith@gmail.com>2023-07-18 12:21:28 -0400
commit67a910bbff772ebf4c47e8b434b59cdc4820bb68 (patch)
tree36efefa4dbdf425286696184746020b8b250cfa1 /mlir/cmake/modules/AddMLIRPython.cmake
parentfe22b9050c7296bc9d4d22d469f27b226153273d (diff)
[mlir][python] Remove PythonAttr mapping functionality
This functionality has been replaced by TypeCasters (see D151840) depends on D154468 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D154469
Diffstat (limited to 'mlir/cmake/modules/AddMLIRPython.cmake')
-rw-r--r--mlir/cmake/modules/AddMLIRPython.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/mlir/cmake/modules/AddMLIRPython.cmake b/mlir/cmake/modules/AddMLIRPython.cmake
index 9227c5186d73..382f7c0624e7 100644
--- a/mlir/cmake/modules/AddMLIRPython.cmake
+++ b/mlir/cmake/modules/AddMLIRPython.cmake
@@ -271,6 +271,11 @@ endfunction()
# SOURCES: Same as declare_mlir_python_sources().
# SOURCES_GLOB: Same as declare_mlir_python_sources().
# DEPENDS: Additional dependency targets.
+#
+# TODO: Right now `TD_FILE` can't be the actual dialect tablegen file, since we
+# use its path to determine where to place the generated python file. If
+# we made the output path an additional argument here we could remove the
+# need for the separate "wrapper" .td files
function(declare_mlir_dialect_python_bindings)
cmake_parse_arguments(ARG
""