diff --git a/mlir/integration_test/CMakeLists.txt b/mlir/integration_test/CMakeLists.txt --- a/mlir/integration_test/CMakeLists.txt +++ b/mlir/integration_test/CMakeLists.txt @@ -21,6 +21,9 @@ ) set_target_properties(check-mlir-integration PROPERTIES FOLDER "integration_test") +# Let target "check-mlir" imply the target "check-mlir-integration" as well. +add_dependencies(check-mlir check-mlir-integration) + add_lit_testsuites(MLIR_INTEGRATION ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${MLIR_INTEGRATION_TEST_DEPENDS} )