[compiler-rt] [tsan] Add support for linux/riscv64 in lib/tsan/go/buildgo.sh (PR #124557)
Meng Zhuo via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 07:06:03 PST 2025
https://github.com/mengzhuo created https://github.com/llvm/llvm-project/pull/124557
None
>From 759d191bd464ce2e0f0aea96b45d5d5149c1fccf Mon Sep 17 00:00:00 2001
From: Meng Zhuo <mengzhuo at iscas.ac.cn>
Date: Mon, 27 Jan 2025 23:02:57 +0800
Subject: [PATCH] [tsan] Add support for linux/riscv64 in
lib/tsan/go/buildgo.sh
---
compiler-rt/lib/tsan/go/buildgo.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/compiler-rt/lib/tsan/go/buildgo.sh b/compiler-rt/lib/tsan/go/buildgo.sh
index 78ba41a0bdc6d6..6871b36c3f510e 100755
--- a/compiler-rt/lib/tsan/go/buildgo.sh
+++ b/compiler-rt/lib/tsan/go/buildgo.sh
@@ -18,6 +18,8 @@ if [ "`uname -a | grep Linux`" != "" ]; then
else
HOST_GOARCH="mips64"
fi
+ elif [ "`uname -a | grep riscv64`" != "" ]; then
+ HOST_GOARCH="riscv64"
elif [ "`uname -a | grep s390x`" != "" ]; then
HOST_GOARCH="s390x"
fi
More information about the llvm-commits
mailing list