[PATCH] D20824: [CMake] Update to retiring CMake 3.4.3

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 13:28:19 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL271327: [CMake] Update to requiring CMake 3.4.3 (authored by cbieneman).

Changed prior to commit:
  http://reviews.llvm.org/D20824?vs=59095&id=59123#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D20824

Files:
  compiler-rt/trunk/CMakeLists.txt
  compiler-rt/trunk/lib/builtins/CMakeLists.txt

Index: compiler-rt/trunk/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/CMakeLists.txt
+++ compiler-rt/trunk/CMakeLists.txt
@@ -15,16 +15,7 @@
   set(COMPILER_RT_STANDALONE_BUILD FALSE)
 endif()
 
-# The CompilerRT build system requires CMake version 2.8.8 or higher in order
-# to use its support for building convenience "libraries" as a collection of
-# .o files. This is particularly useful in producing larger, more complex
-# runtime libraries.
-if (NOT MSVC)
-  cmake_minimum_required(VERSION 2.8.8)
-else()
-  # Version 2.8.12.1 is required to build with Visual Studio 2013.
-  cmake_minimum_required(VERSION 2.8.12.1)
-endif()
+cmake_minimum_required(VERSION 3.4.3)
 
 # FIXME: It may be removed when we use 2.8.12.
 if(CMAKE_VERSION VERSION_LESS 2.8.12)
Index: compiler-rt/trunk/lib/builtins/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt
@@ -3,7 +3,7 @@
 # architecture-specific code in various subdirectories.
 
 if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
-  cmake_minimum_required(VERSION 2.8.12.1)
+  cmake_minimum_required(VERSION 3.4.3)
 
   project(CompilerRTBuiltins C ASM)
   set(COMPILER_RT_STANDALONE_BUILD TRUE)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20824.59123.patch
Type: text/x-patch
Size: 1341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160531/4d51bfb9/attachment.bin>


More information about the llvm-commits mailing list