summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWANG Rui <wangrui@loongson.cn>2024-01-17 12:43:00 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-01-17 12:43:00 +0800
commitf58b0abae839f06be9d791d16196922a4b281777 (patch)
tree7472e1a6133a019e03bfe7c44849c3bc21402c63 /scripts
parent2772ae4d66d17c6a8b4c167ddb660fc8d7972da5 (diff)
scripts/min-tool-version.sh: Raise minimum clang version to 18.0.0 for loongarch
The existing mainline clang development version encounters difficulties compiling the LoongArch kernel module. It is anticipated that this issue will be resolved in the upcoming 18.0.0 release. To prevent user confusion arising from broken builds, it is advisable to raise the minimum required clang version for LoongArch to 18.0.0. Suggested-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Acked-by: Nick Desaulniers <ndesaulniers@google.com> Link: https://github.com/ClangBuiltLinux/linux/issues/1941 Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: WANG Rui <wangrui@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/min-tool-version.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
index fd5ffdb81bab..1c6ab10dc69e 100755
--- a/scripts/min-tool-version.sh
+++ b/scripts/min-tool-version.sh
@@ -26,6 +26,8 @@ gcc)
llvm)
if [ "$SRCARCH" = s390 ]; then
echo 15.0.0
+ elif [ "$SRCARCH" = loongarch ]; then
+ echo 18.0.0
else
echo 11.0.0
fi