[llvm] Fix minimum Apple Clang requirement
authorKadir Cetinkaya <kadircet@google.com>
Mon, 24 Oct 2022 15:14:52 +0000 (17:14 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Fri, 28 Oct 2022 13:12:24 +0000 (15:12 +0200)
This was stated as 9.3, but as pointed out in
https://discourse.llvm.org/t/rfc-bump-minimal-requirements-apple-clang-9-3-10-0-0-before-4th-tue-in-january/66156/7?u=kadircet
9.3 doesn't exist, hence this was effectively 10.0.

This patch merely reflects the reality more closely.

Differential Revision: https://reviews.llvm.org/D136609

llvm/cmake/modules/CheckCompilerVersion.cmake
llvm/docs/GettingStarted.rst
llvm/docs/ReleaseNotes.rst

index efe403f..374ee8f 100644 (file)
@@ -8,8 +8,8 @@ set(GCC_MIN 7.1)
 set(GCC_SOFT_ERROR 7.1)
 set(CLANG_MIN 5.0)
 set(CLANG_SOFT_ERROR 5.0)
-set(APPLECLANG_MIN 9.3)
-set(APPLECLANG_SOFT_ERROR 9.3)
+set(APPLECLANG_MIN 10.0)
+set(APPLECLANG_SOFT_ERROR 10.0)
 
 # https://en.wikipedia.org/wiki/Microsoft_Visual_C#Internal_version_numbering
 # _MSC_VER == 1927 MSVC++ 14.27 Visual Studio 2019 Version 16.7
index f7c0cb7..e14ee9d 100644 (file)
@@ -239,7 +239,7 @@ standards<CodingStandards>`. To enforce this language version, we check the most
 popular host toolchains for specific minimum versions in our build systems:
 
 * Clang 5.0
-* Apple Clang 9.3
+* Apple Clang 10.0
 * GCC 7.1
 * Visual Studio 2019 16.7
 
index 556f7fc..1515fe4 100644 (file)
@@ -61,7 +61,7 @@ and there is no way to suppress this error.
 
 * GCC >= 7.1
 * Clang >= 5.0
-* Apple Clang >= 9.3
+* Apple Clang >= 10.0
 * Visual Studio 2019 >= 16.7
 
 Changes to the LLVM IR