This change adds support for building race runtime on darwin, linux and windows.
I've switched to git mirror of llvm, because installing svn on windows is pain.
Also I've combined pieces of build scripts into an actual script,
because I've spent several hours trying to copy a file on windows using gomote
but failed. Lots of things become much simpler within a script
(e.g. builtin copy works and you don't need to guess full pathes to various binaries).
Result of a build is uploaded as cl/16827.
Fixes#8653
Change-Id: I9a17695cd7bf9b7c64cf1bc4e48800fccf553906
Reviewed-on: https://go-review.googlesource.com/16861
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Racebuild builds race runtime (syso files) on all supported OSes using gomote.
For now only freebsd is supported.
Usage:
$ racebuild -rev <llvm_revision> -goroot <path_to_go_repo>
The rest should happen automatically (provided you have gomote access).
Update golang/go#8653
Change-Id: Ie9df99860616084471dc92b8dbf369020fbb8f72
Reviewed-on: https://go-review.googlesource.com/16823
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>