[PATCH] D26078: [cmake] Temporarily revert enforcement of minimum GCC version increase
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 28 08:39:57 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL285406: [cmake] Temporarily revert enforcement of minimum GCC version increase (authored by tejohnson).
Changed prior to commit:
https://reviews.llvm.org/D26078?vs=76198&id=76200#toc
Repository:
rL LLVM
https://reviews.llvm.org/D26078
Files:
llvm/trunk/cmake/modules/CheckCompilerVersion.cmake
Index: llvm/trunk/cmake/modules/CheckCompilerVersion.cmake
===================================================================
--- llvm/trunk/cmake/modules/CheckCompilerVersion.cmake
+++ llvm/trunk/cmake/modules/CheckCompilerVersion.cmake
@@ -8,8 +8,9 @@
if(NOT LLVM_FORCE_USE_OLD_TOOLCHAIN)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
- message(FATAL_ERROR "Host GCC version must be at least 4.8!")
+ # FIXME: Change this to 4.8 once documentation builder bot is upgraded
+ if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7)
+ message(FATAL_ERROR "Host GCC version must be at least 4.7!")
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.1)
@@ -35,7 +36,8 @@
int main() { return (float)x; }"
LLVM_NO_OLD_LIBSTDCXX)
if(NOT LLVM_NO_OLD_LIBSTDCXX)
- message(FATAL_ERROR "Host Clang must be able to find libstdc++4.8 or newer!")
+ # FIXME: Change this to 4.8 once documentation builder bot is upgraded
+ message(FATAL_ERROR "Host Clang must be able to find libstdc++4.7 or newer!")
endif()
set(CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
set(CMAKE_REQUIRED_LIBRARIES ${OLD_CMAKE_REQUIRED_LIBRARIES})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26078.76200.patch
Type: text/x-patch
Size: 1331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161028/19709fdd/attachment.bin>
More information about the llvm-commits
mailing list