mirror of https://github.com/llvm/torch-mlir
23 lines
409 B
CMake
23 lines
409 B
CMake
add_mlir_conversion_library(TorchMLIRTorchToSCF
|
|
TorchToSCF.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchToSCF
|
|
|
|
DEPENDS
|
|
TorchMLIRConversionPassIncGen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRSCFDialect
|
|
MLIRFuncDialect
|
|
TorchMLIRTorchDialect
|
|
TorchMLIRTorchConversionDialect
|
|
)
|
|
|
|
torch_mlir_target_includes(TorchMLIRTorchToSCF)
|