mirror of https://github.com/llvm/torch-mlir
20 lines
439 B
CMake
20 lines
439 B
CMake
add_mlir_conversion_library(TorchMLIRTorchConversionToMLProgram
|
|
TorchConversionToMLProgram.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchConversionToMLProgram
|
|
|
|
DEPENDS
|
|
TorchMLIRConversionPassIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRLinalgDialect
|
|
MLIRMLProgramDialect
|
|
MLIRMathDialect
|
|
MLIRPass
|
|
TorchMLIRTorchDialect
|
|
)
|
|
|
|
torch_mlir_target_includes(TorchMLIRTorchConversionToMLProgram)
|