[PATCH] D25683: [docs] Increase minimum supported GCC version for building LLVM to 4.8

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 07:34:25 PDT 2016


rengolin added a comment.

In https://reviews.llvm.org/D25683#572892, @Meinersbur wrote:

> Should there be a check in CMakeLists.txt that concretely says that their version of GCC is not supported? This might avoid confusion for people that do not read GettingStarted document first, or are upgrading from an older version with gcc 4.7 still installed. Eg.
>
>   if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
>     status(FATAL_ERROR "This version of LLVM is known to not compile with GCC before version 4.8")
>   endif ()
>


Unsupported doesn't mean despised. :)

We could add a warning, though.


https://reviews.llvm.org/D25683





More information about the llvm-commits mailing list