Skip to content

Commit f58b0ab

Browse files
heiherchenhuacai
authored andcommitted
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 <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Acked-by: Nick Desaulniers <[email protected]> Link: ClangBuiltLinux#1941 Signed-off-by: Tiezhu Yang <[email protected]> Signed-off-by: WANG Rui <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent 2772ae4 commit f58b0ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/min-tool-version.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ gcc)
2626
llvm)
2727
if [ "$SRCARCH" = s390 ]; then
2828
echo 15.0.0
29+
elif [ "$SRCARCH" = loongarch ]; then
30+
echo 18.0.0
2931
else
3032
echo 11.0.0
3133
fi

0 commit comments

Comments
 (0)