mirror of https://github.com/llvm/torch-mlir
21 lines
355 B
CMake
21 lines
355 B
CMake
|
add_mlir_conversion_library(TorchMLIRTorchToTosa
|
||
|
TorchToTosa.cpp
|
||
|
|
||
|
ADDITIONAL_HEADER_DIRS
|
||
|
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchToTosa
|
||
|
|
||
|
DEPENDS
|
||
|
TorchMLIRConversionPassIncGen
|
||
|
|
||
|
LINK_COMPONENTS
|
||
|
Core
|
||
|
|
||
|
LINK_LIBS PUBLIC
|
||
|
MLIRIR
|
||
|
MLIRPass
|
||
|
MLIRTosa
|
||
|
TorchMLIRTorchDialect
|
||
|
)
|
||
|
|
||
|
torch_mlir_target_includes(TorchMLIRTorchToTosa)
|