[PATCH] D47073: Document and Enforce new Host Compiler Policy

Jonas Hahnfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 08:35:28 PDT 2018


Hahnfeld added a comment.

I don't think this change actually compiles, did it work for you?



================
Comment at: cmake/modules/CheckCompilerVersion.cmake:10-11
+
+LLVM requires at least GCC 5.1,
+# MSVC 2015 (Update 3), or Clang 3.5.
 
----------------
This looks strange.


================
Comment at: cmake/modules/CheckCompilerVersion.cmake:23
+      endif()
+      else if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.1)
+        message(WARNING "Support for Host GCC version less than 7.1 will soon be removed.")
----------------
I think this has to be `else if` without a space!


Repository:
  rL LLVM

https://reviews.llvm.org/D47073





More information about the llvm-commits mailing list