[compiler-rt] 4e81275 - [tsan] Add support for linux/riscv64 in lib/tsan/go/buildgo.sh (#124557)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 10:39:43 PST 2025


Author: Meng Zhuo
Date: 2025-01-27T10:39:40-08:00
New Revision: 4e812756745e59e02dca12abaed50638b5eb273f

URL: https://github.com/llvm/llvm-project/commit/4e812756745e59e02dca12abaed50638b5eb273f
DIFF: https://github.com/llvm/llvm-project/commit/4e812756745e59e02dca12abaed50638b5eb273f.diff

LOG: [tsan] Add support for linux/riscv64 in lib/tsan/go/buildgo.sh (#124557)

Added: 
    

Modified: 
    compiler-rt/lib/tsan/go/buildgo.sh

Removed: 
    


################################################################################
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