torch-mlir/lib/Conversion/TorchToTosa/CMakeLists.txt

23 lines
411 B
CMake
Raw Permalink Normal View History

add_mlir_conversion_library(TorchMLIRTorchToTosa
TorchToTosa.cpp
TosaLegalizeUtils.cpp
TosaLegalizeCommon.cpp
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchToTosa
DEPENDS
TorchMLIRConversionPassIncGen
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRIR
MLIRPass
2022-06-23 11:23:46 +08:00
MLIRTosaDialect
TorchMLIRTorchDialect
)
torch_mlir_target_includes(TorchMLIRTorchToTosa)