mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
This reverts commit 84a214856a.
This gives us more time to work out the alternative and also people to
migrate
34 lines
560 B
CMake
34 lines
560 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
|
|
)
|
|
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
|
|
)
|
|
|