[llvm] b999ac1 - [llvm] Fix minimum Apple Clang requirement
Kadir Cetinkaya via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 28 06:12:29 PDT 2022
Author: Kadir Cetinkaya
Date: 2022-10-28T15:12:24+02:00
New Revision: b999ac1af60bce30341045a94b1d8a1638843c0a
URL: https://github.com/llvm/llvm-project/commit/b999ac1af60bce30341045a94b1d8a1638843c0a
DIFF: https://github.com/llvm/llvm-project/commit/b999ac1af60bce30341045a94b1d8a1638843c0a.diff
LOG: [llvm] Fix minimum Apple Clang requirement
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
Added:
Modified:
llvm/cmake/modules/CheckCompilerVersion.cmake
llvm/docs/GettingStarted.rst
llvm/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/llvm/cmake/modules/CheckCompilerVersion.cmake b/llvm/cmake/modules/CheckCompilerVersion.cmake
index efe403f7f168a..374ee8ffa400e 100644
--- a/llvm/cmake/modules/CheckCompilerVersion.cmake
+++ b/llvm/cmake/modules/CheckCompilerVersion.cmake
@@ -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
diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst
index f7c0cb78fc504..e14ee9d8c8c5c 100644
--- a/llvm/docs/GettingStarted.rst
+++ b/llvm/docs/GettingStarted.rst
@@ -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
diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index 556f7fc7f5449..1515fe47be376 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -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
More information about the llvm-commits
mailing list