torch-mlir/lib/CMakeLists.txt

31 lines
512 B
CMake

add_subdirectory(CAPI)
add_subdirectory(Conversion)
add_subdirectory(Dialect)
add_subdirectory(RefBackend)
add_mlir_library(TorchMLIRInitAll
InitAll.cpp
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRFuncDialect
MLIRIR
MLIRSupport
TorchMLIRTorchPasses
TorchMLIRTorchConversionDialect
TorchMLIRTorchDialect
TorchMLIRTorchConversionPasses
TorchMLIRTMTensorPasses
TorchMLIRTMTensorDialect
TorchMLIRConversionPasses
TorchMLIRRefBackend
)
torch_mlir_target_includes(TorchMLIRInitAll)