What's the biggest, beefiest real world program yet written in Go, and how long does it take to compile it?
What's the biggest, beefiest real world program yet written in Go, and how long does it take to compile it?
Kubernetes takes about 16m: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/...
[1] https://ci.freebsd.org/job/FreeBSD-head-amd64-LINT/buildTime...
[2] https://ci.freebsd.org/job/FreeBSD-head-amd64-build/buildTim...
If you use docker as part of your ci build the dependencies as a separate step so they can be cached between builds. This is especially important for libraries like sqlite, which can take a lot longer to compile.
That seems to be docker.github.io, the Docker documentation, not Docker itself (and not written in Go).
A quick glance seems to indicate that cockroachdb takes about 9 minutes [1] and infuxdb about 15 minutes [2]
[1] https://teamcity.cockroachdb.com/viewLog.html?buildId=380603...
On my system, building just the Go code for the latest version of CockroachDB (about 360kloc) takes 24 seconds.