torch-mlir/lib/E2E/CMakeLists.txt

31 lines
599 B
CMake

add_mlir_library(NPCOMPE2E
BypassShapes.cpp
E2E.cpp
LowerToLLVM.cpp
LowerToNpcomprtABI.cpp
TensorToMemref/LowerConstantTensorsToMemref.cpp
TensorToMemref/LowerShapedResultsToMemref.cpp
TensorToMemref/LowerStdToMemref.cpp
TensorToMemref/LowerStructuralToMemref.cpp
ADDITIONAL_HEADER_DIRS
${PROJECT_SRC_DIR}/include/npcomp/E2E
DEPENDS
NPCOMPE2EPassIncGen
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRIR
MLIRLinalg
MLIRSCFToStandard
MLIRShapeToStandard
MLIRStandard
MLIRStandardOpsTransforms
MLIRStandardToLLVM
)
mlir_check_all_link_libraries(NPCOMPE2E)