File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -390,6 +390,35 @@ mkdir outdir
390
390
cp llvm-project-${REV}/compiler-rt/lib/tsan/go/race_linux_s390x.syso outdir/race_linux_s390x.syso
391
391
# free some disk space
392
392
rm -r llvm.zip llvm-project-${REV}
393
+ (cd go/src && ./race.bash)
394
+ ` ,
395
+ },
396
+ {
397
+ OS : "linux" ,
398
+ Arch : "loong64" ,
399
+ Type : "gotip-linux-loong64" ,
400
+ Script : `#!/usr/bin/env bash
401
+ set -e
402
+ cat /etc/os-release
403
+ # Because LUCI builder is not run as root, these dependencies have been manually installed
404
+ # yum install -y gcc-c++ git golang-bin unzip
405
+ git clone https://go.googlesource.com/go
406
+ pushd go
407
+ git checkout $GOREV
408
+ if [ "$GOGITOP" != "" ]; then
409
+ git fetch https://go.googlesource.com/go "$GOSRCREF"
410
+ git $GOGITOP FETCH_HEAD
411
+ fi
412
+ popd
413
+ curl -L -o llvm.zip https://github.com/llvm/llvm-project/archive/${REV}.zip
414
+ unzip -q llvm.zip llvm-project-${REV}/compiler-rt/*
415
+ (cd llvm-project-${REV}/compiler-rt/lib/tsan/go && ./buildgo.sh)
416
+ cp llvm-project-${REV}/compiler-rt/lib/tsan/go/race_linux_loong64.syso go/src/runtime/race
417
+ # work around gomote gettar issue #64195
418
+ mkdir outdir
419
+ cp llvm-project-${REV}/compiler-rt/lib/tsan/go/race_linux_loong64.syso outdir/race_linux_loong64.syso
420
+ # free some disk space
421
+ rm -r llvm.zip llvm-project-${REV}
393
422
(cd go/src && ./race.bash)
394
423
` ,
395
424
},
You can’t perform that action at this time.
0 commit comments