[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240108033138.217032-1-wangrui@loongson.cn>
Date: Mon, 8 Jan 2024 11:31:38 +0800
From: WANG Rui <wangrui@...ngson.cn>
To: Huacai Chen <chenhuacai@...nel.org>
Cc: WANG Xuerui <kernel@...0n.name>,
llvm@...ts.linux.dev,
linux-kernel@...r.kernel.org,
loongarch@...ts.linux.dev,
loongson-kernel@...ts.loongnix.cn,
WANG Rui <wangrui@...ngson.cn>,
Nathan Chancellor <nathan@...nel.org>,
Tiezhu Yang <yangtiezhu@...ngson.cn>
Subject: [PATCH] scripts/min-tool-version.sh: Raise min clang version to 18.0.0 for loongarch
The existing mainline clang development version encounters diffculties
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@...nel.org>
Signed-off-by: Tiezhu Yang <yangtiezhu@...ngson.cn>
Signed-off-by: WANG Rui <wangrui@...ngson.cn>
---
scripts/min-tool-version.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
index c62066825f53..9faa4d3d91e3 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
--
2.43.0
Powered by blists - more mailing lists