Skip to content

Commit 736e9ee

Browse files
authored
[mlir-python-bindings] add TDs to wheels (#215)
[mlir-python-bindings] add TDs to wheels
1 parent 5f3ac07 commit 736e9ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

projects/mlir-python-bindings/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ add_compile_definitions("MLIR_PYTHON_PACKAGE_PREFIX=${MLIR_PYTHON_PACKAGE_PREFIX
7676

7777
mlir_configure_python_dev_packages()
7878

79+
declare_mlir_python_sources(MLIRPythonCAPI.TableGenSources
80+
ADD_TO_PARENT MLIRPythonCAPI.HeaderSources
81+
ROOT_DIR "${MLIR_INCLUDE_DIRS}"
82+
SOURCES_GLOB "mlir/*.td"
83+
)
84+
7985
add_mlir_python_common_capi_library(MLIRPythonCAPI
8086
INSTALL_COMPONENT MLIRPythonModules
8187
INSTALL_DESTINATION mlir/_mlir_libs

0 commit comments

Comments
 (0)