dashboard: fix POWER9 builder code generation
When we moved the ppc64le builders to Docker, GOPPC64=power9 was not set
for the POWER9 builders. This variable has to be passed to the environment
so the compiler can generate POWER9 instructions.
Fixes golang/go#36802
Change-Id: I13e99eb316e2126302e26ee771aaf8bbfbbc1c8c
Reviewed-on: https://go-review.googlesource.com/c/build/+/216577
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 57014de..ad19615 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -555,7 +555,7 @@
"host-linux-ppc64le-power9-osu": &HostConfig{
Notes: "Debian Buster; run by Go team on osuosl.org; see x/build/env/linux-ppc64le/osuosl",
IsReverse: true,
- env: []string{"GOROOT_BOOTSTRAP=/usr/local/go-bootstrap"},
+ env: []string{"GOROOT_BOOTSTRAP=/usr/local/go-bootstrap", "GOPPC64=power9"},
SSHUsername: "root",
HermeticReverse: true,
},