]> Cypherpunks repositories - gostls13.git/commit
misc/dashboard/builder: always do a native build
authorDave Cheney <dave@cheney.net>
Thu, 18 Apr 2013 06:42:56 +0000 (16:42 +1000)
committerDave Cheney <dave@cheney.net>
Thu, 18 Apr 2013 06:42:56 +0000 (16:42 +1000)
commitde2fcae372bd4b06b684380ea6b55100683e433a
treeb808236fee86c3ced39718df8eedc1f994338171
parentb08a3164c0a10b608db0e9fafcdc3c9168e3cffe
misc/dashboard/builder: always do a native build

https://golang.org/cl/8134043 disabled cgo when cross compiling, this means builders which compile for both amd64 and 386 will be compiling the latter with cgo disabled.

This proposal modifies the builder to mirror the dist tool by always doing a native build.

Tested on my darwin/amd64 builder and confirmed the result when building darwin/386 is a native 386 build with cgo enabled.

R=bradfitz, dsymonds, r, adg
CC=golang-dev
https://golang.org/cl/8842044
misc/dashboard/builder/main.go