llvm-project/mlir/test/python/lib/CMakeLists.txt
Maksim Levental 392622d084
Revert "Revert "[mlir python] Add nanobind support (#119232)
Reverts revert #118517 after (hopefully) fixing builders
(https://github.com/llvm/llvm-zorg/pull/328,
https://github.com/llvm/llvm-zorg/pull/327)

This reverts commit 61bf308cf2fc32452f14861c102ace89f5f36fec.
2024-12-09 16:37:43 -05:00

34 lines
522 B
CMake

set(LLVM_OPTIONAL_SOURCES
PythonTestCAPI.cpp
PythonTestDialect.cpp
PythonTestModulePybind11.cpp
PythonTestModuleNanobind.cpp
)
add_mlir_library(MLIRPythonTestDialect
PythonTestDialect.cpp
EXCLUDE_FROM_LIBMLIR
DEPENDS
MLIRPythonTestIncGen
LINK_LIBS PUBLIC
MLIRInferTypeOpInterface
MLIRIR
MLIRSupport
)
add_mlir_public_c_api_library(MLIRCAPIPythonTestDialect
PythonTestCAPI.cpp
DEPENDS
MLIRPythonTestIncGen
LINK_LIBS PUBLIC
MLIRCAPIInterfaces
MLIRCAPIIR
MLIRPythonTestDialect
)