forked from OSchip/llvm-project
[mlir] Fix PDL python bindings build
Fixes incorrect build definition for the bindings for the PDL dialect. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D117657
This commit is contained in:
parent
0bc14a0a98
commit
19c3026891
|
@ -123,14 +123,15 @@ declare_mlir_python_sources(
|
|||
dialects/quant.py
|
||||
_mlir_libs/_mlir/dialects/quant.pyi)
|
||||
|
||||
declare_mlir_python_sources(
|
||||
MLIRPythonSources.Dialects.pdl
|
||||
declare_mlir_dialect_python_bindings(
|
||||
ADD_TO_PARENT MLIRPythonSources.Dialects
|
||||
ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir"
|
||||
TD_FILE dialects/PDLOps.td
|
||||
SOURCES
|
||||
dialects/pdl.py
|
||||
dialects/_pdl_ops_ext.py
|
||||
_mlir_libs/_mlir/dialects/pdl.pyi)
|
||||
_mlir_libs/_mlir/dialects/pdl.pyi
|
||||
DIALECT_NAME pdl)
|
||||
|
||||
declare_mlir_dialect_python_bindings(
|
||||
ADD_TO_PARENT MLIRPythonSources.Dialects
|
||||
|
|
Loading…
Reference in New Issue