45 lines · plain
1# Exclude tests from libMLIR.so2add_mlir_library(MLIRAffineTransformsTestPasses3 TestAffineDataCopy.cpp4 TestAffineLoopUnswitching.cpp5 TestAffineLoopParametricTiling.cpp6 TestAccessAnalysis.cpp7 TestDecomposeAffineOps.cpp8 TestReifyValueBounds.cpp9 TestLoopFusion.cpp10 TestLoopMapping.cpp11 TestLoopPermutation.cpp12 TestVectorizationUtils.cpp13 14 EXCLUDE_FROM_LIBMLIR15 16 ADDITIONAL_HEADER_DIRS17 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Affine18 ${MLIR_MAIN_INCLUDE_DIR}/mlir/IR19 20 LINK_COMPONENTS21 Core22 23 LINK_LIBS PUBLIC24 MLIRTestDialect25 )26mlir_target_link_libraries(MLIRAffineTransformsTestPasses PUBLIC27 MLIRArithTransforms28 MLIRAffineAnalysis29 MLIRAffineTransforms30 MLIRAffineUtils31 MLIRIR32 MLIRPass33 MLIRSupport34 MLIRMemRefDialect35 MLIRTensorDialect36 MLIRVectorUtils37 )38 39target_include_directories(MLIRAffineTransformsTestPasses40 PRIVATE41 ${CMAKE_CURRENT_SOURCE_DIR}/../Test42 ${CMAKE_CURRENT_BINARY_DIR}/../Test43 )44 45