On 06/30/2015 03:08 PM, William Hubbs wrote: > The source code is where the compatibility between versions of Go is, > not the static objects, so what if, for third-party go packages, we > skip installing the static objects? > > The only down side of this would be that there might be longer rebuilds > if the packages have multiple consumers, but it gets rid of the static > objects. > > What do you think?
I'll give real example involving go-tools. The go-tools build requires go-net, which in turn requires go-text. If the go-net *.a files are installed, then it is possible to build go-tools against go-net without having go-text installed. If the go-net *.a files are not installed, then you will have to install go-text before you can build go-tools. It introduces an indirect build-time dependency between go-tools and go-text. -- Thanks, Zac