| The go prebuilts in this directory were compiled with: |
| |
| git clone https://github.com/golang/go.git /tmp/go |
| cd /tmp/go/src |
| git checkout go1.4.2 |
| # Go can't handle a relative GOROOT, but we don't know the absolute path |
| # so set it to a relative path anyways. The build system will have to |
| # set the correct absolute GOROOT. |
| GOROOT_FINAL=./prebuilts/go/linux-x86 ./all.bash && ./race.bash |
| |
| # Build the Win64 go cross-compiler. |
| GOROOT_FINAL=./prebuilts/go/linux-x86 GOOS=windows GOARCH=amd64 ./make.bash --no-clean |
| |
| cp -rp /tmp/go/* prebuilts/go/linux-x86 |