mirror of https://github.com/llvm/torch-mlir
23 lines
386 B
CMake
23 lines
386 B
CMake
|
add_mlir_conversion_library(TorchMLIRTorchToMhlo
|
||
|
TorchToMhlo.cpp
|
||
|
BasicOp.cpp
|
||
|
|
||
|
ADDITIONAL_HEADER_DIRS
|
||
|
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchToMhlo
|
||
|
|
||
|
DEPENDS
|
||
|
MhloDialect
|
||
|
TorchMLIRConversionPassIncGen
|
||
|
|
||
|
LINK_COMPONENTS
|
||
|
Core
|
||
|
|
||
|
LINK_LIBS PUBLIC
|
||
|
MLIRIR
|
||
|
MLIRPass
|
||
|
MhloDialect
|
||
|
TorchMLIRTorchDialect
|
||
|
)
|
||
|
|
||
|
torch_mlir_target_includes(TorchMLIRTorchToMhlo)
|