Files
clang-p2996/mlir/test/python/lib/CMakeLists.txt
Maksim Levental 61bf308cf2 Revert "[mlir python] Add nanobind support for standalone dialects." (#118517)
Reverts llvm/llvm-project#117922 because deps aren't met on some of the
post-commit build bots.
2024-12-03 09:26:33 -08:00

33 lines
483 B
CMake

set(LLVM_OPTIONAL_SOURCES
PythonTestCAPI.cpp
PythonTestDialect.cpp
PythonTestModule.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
)