18 lines · plain
1if (MLIR_ENABLE_PDL_IN_PATTERNMATCH)2 # Exclude tests from libMLIR.so3 add_mlir_library(MLIRTestRewrite4 TestPDLByteCode.cpp5 6 EXCLUDE_FROM_LIBMLIR7 8 ADDITIONAL_HEADER_DIRS9 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Rewrite10 )11 mlir_target_link_libraries(MLIRTestRewrite PUBLIC12 MLIRIR13 MLIRPass14 MLIRSupport15 MLIRTransformUtils16 )17endif()18