diff --git a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake --- a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake +++ b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake @@ -2,13 +2,6 @@ # Finds and configures python packages needed to build MLIR Python bindings. macro(mlir_configure_python_dev_packages) - if(CMAKE_VERSION VERSION_LESS "3.19.0") - message(SEND_ERROR - "Building MLIR Python bindings is known to rely on CMake features " - "that require at least version 3.19. Recommend upgrading to 3.19+ " - "for full support. Detected current version: ${CMAKE_VERSION}") - endif() - if(MLIR_DETECT_PYTHON_ENV_PRIME_SEARCH) # Prime the search for python to see if there is a full development # package. This seems to work around cmake bugs searching only for diff --git a/mlir/tools/mlir-vulkan-runner/CMakeLists.txt b/mlir/tools/mlir-vulkan-runner/CMakeLists.txt --- a/mlir/tools/mlir-vulkan-runner/CMakeLists.txt +++ b/mlir/tools/mlir-vulkan-runner/CMakeLists.txt @@ -8,16 +8,12 @@ if (MLIR_ENABLE_VULKAN_RUNNER) message(STATUS "Building the Vulkan runner") - # At first try "FindVulkan" from: - # https://cmake.org/cmake/help/v3.7/module/FindVulkan.html - if (NOT CMAKE_VERSION VERSION_LESS 3.7.0) - find_package(Vulkan) - endif() + find_package(Vulkan) # If Vulkan is not found try a path specified by VULKAN_SDK. if (NOT Vulkan_FOUND) if ("$ENV{VULKAN_SDK}" STREQUAL "") - message(FATAL_ERROR "Please use at least CMAKE 3.7.0 or provide " + message(FATAL_ERROR "Vulkan not found through CMake; please provide " "VULKAN_SDK path as an environment variable") endif()