From d5461380a10d12501d7c858df43524be6892569b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 4 May 2022 14:39:39 +0200 Subject: [PATCH] compiler_rt: Switch Clang 14 version to release/14.x since it's stable This fixes build with Clang 14.0 on Fedora 36, and might enable building against in-dev Clang 15, but I haven't tested it. Fixes #340. --- build_compiler_rt.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_compiler_rt.sh b/build_compiler_rt.sh index 17d91af..8630cbc 100755 --- a/build_compiler_rt.sh +++ b/build_compiler_rt.sh @@ -53,8 +53,9 @@ case $CLANG_VERSION in 11.* ) BRANCH=release/11.x; USE_CMAKE=1; ;; 12.* ) BRANCH=release/12.x; USE_CMAKE=1; ;; 13.* ) BRANCH=release/13.x; USE_CMAKE=1; ;; - 14.* ) BRANCH=main; USE_CMAKE=1; ;; - * ) echo "Unsupported Clang version, must be >= 3.2 and <= 14.0" 1>&2; exit 1; + 14.* ) BRANCH=release/14.x; USE_CMAKE=1; ;; + 15.* ) BRANCH=main; USE_CMAKE=1; ;; + * ) echo "Unsupported Clang version, must be >= 3.2 and <= 15.0" 1>&2; exit 1; esac if [ $(osxcross-cmp $CLANG_VERSION ">=" 3.5) -eq 1 ]; then