Skip to content

Commit 573e35c

Browse files
author
Bryan C. Mills
committed
cmd/racebuild: add netbsd/amd64
Updates golang/go#24354. Updates golang/go#19273. Updates golang/go#24322. Change-Id: Ia67fde51d7698ca94d86c4697fd153a551a8ceee Reviewed-on: https://go-review.googlesource.com/112880 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 parent fd4e4b6 commit 573e35c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

cmd/racebuild/racebuild.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,21 @@ 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: "netbsd",
84+
Arch: "amd64",
85+
Type: "netbsd-amd64-8_0",
86+
Script: `#!/usr/bin/env bash
87+
set -e
88+
git clone https://go.googlesource.com/go
89+
git clone http://llvm.org/git/compiler-rt.git
90+
(cd compiler-rt && git checkout $REV)
91+
(cd compiler-rt/lib/tsan/go && CC=clang ./buildgo.sh)
92+
cp compiler-rt/lib/tsan/go/race_netbsd_amd64.syso go/src/runtime/race
93+
# TODO(#24322): Uncomment to test the syso file before accepting it.
94+
# (cd go/src && ./race.bash)
95+
`,
96+
},
8297
&Platform{
8398
OS: "windows",
8499
Arch: "amd64",

0 commit comments

Comments
 (0)