[PATCH] D25683: [docs] Increase minimum supported GCC version for building LLVM to 4.8
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 18 07:17:31 PDT 2016
Meinersbur added a comment.
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")
More information about the llvm-commits