Fix GCC build problem with 288f05f related to SmallVector. (#116958)
[llvm-project.git] / mlir / test / lib / Dialect / Affine / CMakeLists.txt
blob33cefab9fa2edfcab4c0774d714cfe824a492011
1 # Exclude tests from libMLIR.so
2 add_mlir_library(MLIRAffineTransformsTestPasses
3   TestAffineDataCopy.cpp
4   TestAffineLoopUnswitching.cpp
5   TestAffineLoopParametricTiling.cpp
6   TestAccessAnalysis.cpp
7   TestDecomposeAffineOps.cpp
8   TestReifyValueBounds.cpp
9   TestLoopFusion.cpp
10   TestLoopMapping.cpp
11   TestLoopPermutation.cpp
12   TestVectorizationUtils.cpp
14   EXCLUDE_FROM_LIBMLIR
16   ADDITIONAL_HEADER_DIRS
17   ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Affine
18   ${MLIR_MAIN_INCLUDE_DIR}/mlir/IR
20   LINK_COMPONENTS
21   Core
23   LINK_LIBS PUBLIC
24   MLIRArithTransforms
25   MLIRAffineAnalysis
26   MLIRAffineTransforms
27   MLIRAffineUtils
28   MLIRIR
29   MLIRPass
30   MLIRSupport
31   MLIRMemRefDialect
32   MLIRTensorDialect
33   MLIRTestDialect
34   MLIRVectorUtils
35   )
37 target_include_directories(MLIRAffineTransformsTestPasses
38   PRIVATE
39   ${CMAKE_CURRENT_SOURCE_DIR}/../Test
40   ${CMAKE_CURRENT_BINARY_DIR}/../Test
41   )