Files
llvm-project/mlir/test/python/lib/CMakeLists.txt
Maksim Levental 3d7018c70b [MLIR][Python] remove pybind11 support (#172581)
This PR removes pybind which has been deprecated for over a year
(https://github.com/llvm/llvm-project/pull/117922).
2025-12-19 09:51:22 -08:00

33 lines
529 B
CMake

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