diff options
author | Mark de Wever <koraq@xs4all.nl> | 2023-03-04 18:28:13 +0100 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2023-03-04 18:28:13 +0100 |
commit | 92523a35a827539db8557bbc3ecab7f9ea3f6ade (patch) | |
tree | 12470d10badc36a0bedd848cbaf0f9c4dab66179 /polly | |
parent | 2708869801ae00f4681f6b2d9d69b25b3fce26b6 (diff) | |
download | llvm-92523a35a827539db8557bbc3ecab7f9ea3f6ade.tar.gz |
Revert "[CMake] Bumps minimum version to 3.20.0."
Some build bots have not been updated to the new minimal CMake version.
Reverting for now and ping the buildbot owners.
This reverts commit 44c6b905f8527635e49bb3ea97dea315f92d38ec.
Diffstat (limited to 'polly')
-rw-r--r-- | polly/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/polly/CMakeLists.txt b/polly/CMakeLists.txt index ac5ab2c25a20..b81ce165b62f 100644 --- a/polly/CMakeLists.txt +++ b/polly/CMakeLists.txt @@ -1,7 +1,14 @@ # Check if this is a in tree build. if (NOT DEFINED LLVM_MAIN_SRC_DIR) project(Polly) - cmake_minimum_required(VERSION 3.20.0) + cmake_minimum_required(VERSION 3.13.4) + if ("${CMAKE_VERSION}" VERSION_LESS "3.20.0") + message(WARNING + "Your CMake version is ${CMAKE_VERSION}. Starting with LLVM 17.0.0, the " + "minimum version of CMake required to build LLVM will become 3.20.0, and " + "using an older CMake will become an error. Please upgrade your CMake to " + "at least 3.20.0 now to avoid issues in the future!") + endif() set(POLLY_STANDALONE_BUILD TRUE) endif() |