Skip to content

Commit 763dc24

Browse files
author
Bryan C. Mills
committed
cmd/racebuild: add linux/ppc64le
Updates golang/go#19273. Updates golang/go#24354. Updates golang/go#23731. Change-Id: Iad8870b265e7e3b56b5219d3367ccef70dcc0679 Reviewed-on: https://go-review.googlesource.com/112881 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 573e35c commit 763dc24

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

cmd/racebuild/racebuild.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,23 @@ cp compiler-rt/lib/tsan/go/race_linux_amd64.syso go/src/runtime/race
7979
(cd go/src && ./race.bash)
8080
`,
8181
},
82+
&Platform{
83+
OS: "linux",
84+
Arch: "ppc64le",
85+
Type: "linux-ppc64le-buildlet",
86+
Script: `#!/usr/bin/env bash
87+
set -e
88+
apt-get update
89+
apt-get install -y git g++
90+
git clone https://go.googlesource.com/go
91+
git clone http://llvm.org/git/compiler-rt.git
92+
(cd compiler-rt && git checkout $REV)
93+
(cd compiler-rt/lib/tsan/go && ./buildgo.sh)
94+
cp compiler-rt/lib/tsan/go/race_linux_ppc64le.syso go/src/runtime/race
95+
# TODO(#23731): Uncomment to test the syso file before accepting it.
96+
# (cd go/src && ./race.bash)
97+
`,
98+
},
8299
&Platform{
83100
OS: "netbsd",
84101
Arch: "amd64",

0 commit comments

Comments
 (0)