cmd/coordinator: build sub-repositories
Fixes golang/go#9506
Change-Id: Iebfb52386b5ba3df7d058f266e227d634d210ec6
Reviewed-on: https://go-review.googlesource.com/10732
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 41a484e..267cc48 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -163,6 +163,14 @@
return false
}
+func (c *BuildConfig) BuildSubrepos() bool {
+ if !c.SplitMakeRun() {
+ return false
+ }
+ // TODO(adg,bradfitz): expand this
+ return c.Name == "linux-amd64" || c.Name == "windows-amd64-gce"
+}
+
// AllScriptArgs returns the set of arguments that should be passed to the
// all.bash-equivalent script. Usually empty.
func (c *BuildConfig) AllScriptArgs() []string {