summaryrefslogtreecommitdiff
path: root/runtimes
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2023-02-21 20:09:21 +0100
committerMark de Wever <koraq@xs4all.nl>2023-03-04 12:40:57 +0100
commit44c6b905f8527635e49bb3ea97dea315f92d38ec (patch)
tree39d7a470644408c177fa0fdff64f7c5db2aa24d5 /runtimes
parentfac4c476b97b9f2a9dace059f084696d856c033b (diff)
downloadllvm-44c6b905f8527635e49bb3ea97dea315f92d38ec.tar.gz
[CMake] Bumps minimum version to 3.20.0.
This partly undoes D137724. This change has been discussed on discourse https://discourse.llvm.org/t/rfc-upgrading-llvms-minimum-required-cmake-version/66193 Note this does not remove work-arounds for older CMake versions, that will be done in followup patches. Reviewed By: mehdi_amini, MaskRay, ChuanqiXu, to268, thieta, tschuett, phosek, #libunwind, #libc_vendors, #libc, #libc_abi, sivachandra, philnik, zibi Differential Revision: https://reviews.llvm.org/D144509
Diffstat (limited to 'runtimes')
-rw-r--r--runtimes/CMakeLists.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt
index 50f782205ab4..d4025644d128 100644
--- a/runtimes/CMakeLists.txt
+++ b/runtimes/CMakeLists.txt
@@ -1,12 +1,5 @@
# This file handles building LLVM runtime sub-projects.
-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()
+cmake_minimum_required(VERSION 3.20.0)
project(Runtimes C CXX ASM)
# Add path for custom and the LLVM build's modules to the CMake module path.