diff options
author | Nicolas Vasilache <nico.vasilache@amd.com> | 2025-07-04 10:32:39 +0200 |
---|---|---|
committer | Nicolas Vasilache <nico.vasilache@amd.com> | 2025-07-04 10:51:43 +0200 |
commit | 2b8f82b2bad6b2ada988fb2b874d676aa748a35b (patch) | |
tree | cfb669d83bbe5ad73c4378a2a272c254c485bfb7 /mlir/python/CMakeLists.txt | |
parent | 34f124b06ffd3a4e5befafe3cf5daf7753f415ff (diff) | |
download | llvm-users/nico/python-1.zip llvm-users/nico/python-1.tar.gz llvm-users/nico/python-1.tar.bz2 |
[mlir][python] Add utils for more pythonic context creation and registration managementusers/nico/python-1
Co-authored-by: Fabian Mora <fmora.dev@gmail.com
Co-authored-by: Oleksandr "Alex" Zinenko <git@ozinenko.com>
Co-authored-by: Tres <tpopp@users.noreply.github.com>
Diffstat (limited to 'mlir/python/CMakeLists.txt')
-rw-r--r-- | mlir/python/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mlir/python/CMakeLists.txt b/mlir/python/CMakeLists.txt index b2daabb..b4e0ab2 100644 --- a/mlir/python/CMakeLists.txt +++ b/mlir/python/CMakeLists.txt @@ -48,6 +48,13 @@ declare_mlir_python_sources(MLIRPythonSources.ExecutionEngine runtime/*.py ) +declare_mlir_python_sources(MLIRPythonSources.Utils + ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir" + ADD_TO_PARENT MLIRPythonSources + SOURCES + utils.py +) + declare_mlir_python_sources(MLIRPythonCAPI.HeaderSources ROOT_DIR "${MLIR_SOURCE_DIR}/include" SOURCES_GLOB "mlir-c/*.h" |