From 989fc3e6ea65e530055296ac4bc181cb5c6a41ea Mon Sep 17 00:00:00 2001 From: Kim Barrett Date: Wed, 6 Mar 2024 20:17:11 +0000 Subject: [PATCH] 8325878: Require minimum Clang version 13 Reviewed-by: jwaters, ihse --- doc/building.html | 2 +- doc/building.md | 2 +- make/autoconf/toolchain.m4 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/building.html b/doc/building.html index 2b137a584bc..a57d3d16abc 100644 --- a/doc/building.html +++ b/doc/building.html @@ -607,7 +607,7 @@ be accepted by configure.

13.2 or newer.

In general, any version between these two should be usable.

clang

-

The minimum accepted version of clang is 3.5. Older versions will not +

The minimum accepted version of clang is 13. Older versions will not be accepted by configure.

To use clang instead of gcc on Linux, use --with-toolchain-type=clang.

diff --git a/doc/building.md b/doc/building.md index 7418013dbb7..5812b7529e3 100644 --- a/doc/building.md +++ b/doc/building.md @@ -413,7 +413,7 @@ In general, any version between these two should be usable. ### clang -The minimum accepted version of clang is 3.5. Older versions will not be +The minimum accepted version of clang is 13. Older versions will not be accepted by `configure`. To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`. diff --git a/make/autoconf/toolchain.m4 b/make/autoconf/toolchain.m4 index 411ee5a029d..15ebc0cbbbc 100644 --- a/make/autoconf/toolchain.m4 +++ b/make/autoconf/toolchain.m4 @@ -50,7 +50,7 @@ TOOLCHAIN_DESCRIPTION_microsoft="Microsoft Visual Studio" TOOLCHAIN_DESCRIPTION_xlc="IBM XL C/C++" # Minimum supported versions, empty means unspecified -TOOLCHAIN_MINIMUM_VERSION_clang="3.5" +TOOLCHAIN_MINIMUM_VERSION_clang="13.0" TOOLCHAIN_MINIMUM_VERSION_gcc="10.0" TOOLCHAIN_MINIMUM_VERSION_microsoft="19.28.0.0" # VS2019 16.8, aka MSVC 14.28 TOOLCHAIN_MINIMUM_VERSION_xlc="17.1.1.4"