[compiler-rt] [tsan] Add support for linux/riscv64 in lib/tsan/go/buildgo.sh (PR #124557)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 07:07:56 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Meng Zhuo (mengzhuo)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/124557.diff
1 Files Affected:
- (modified) compiler-rt/lib/tsan/go/buildgo.sh (+2)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/124557
More information about the llvm-commits
mailing list