(address . bug-guix@gnu.org)(name . Katherine Cox-Buday)(address . cox.katherine.e@gmail.com)
On Tue, Oct 02, 2018 at 04:49:20PM -0500, Katherine Cox-Buday wrote:
Toggle quote (3 lines)
> We should perhaps begin thinking about switching the Go build system to
> the 1.11 series of releases.
I agree. When Go 1.11 was released, Go 1.9 became unsupported upstream,
so we should stop using it.
The go-build-system as implemented in Guix worked great through Go 1.9.
Go 1.10 changed how the Go compiler chooses whether or not to re-use
compiled Go objects, using a technique they call "content-based
staleness", which is basically a memoized cache, similar to Guix. [0]
For us, the downside of that change is that, when building within Guix
using the tools we have now, the Go compiler never re-uses compiled
objects and instead rebuilds everything, every time. That is, the Go
build cache is never hit. It's inefficient but nothing breaks from what
I've seen.
It would be great if our go-build-system could be updated to work with
the new Go build cache, but in my opinion it's not a blocker. I think we
will have to change it eventually, because they seem to be phasing out
$GOPATH, but we are good for now.
What do you think?
[0]
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlu01+8ACgkQJkb6MLrK
fwhB+xAAuns5YbQRk1tZILYXRLYnFcAv1kpEvu+BG59Kd6MQHw34GpYfykYHffKC
ZWkTKk3YgjuB4W+9WzRDpgWUMAYBJgZMQ7D8qTo+tb2F+FeXa55HYIbygJ3LMWbS
QE87wkWq/8NSnZlthmlxM8yrKhHNIdBDeeIRpp2y7hV3Ztv07IHWn2fEkZSg7T9n
ff3CcAZQK/sK83BR2uG70ImCaUqltZXJUErL2JrMrvkDsobr0iujw3pdBVXbRZIr
S+UK06XQ/BORpBAJ99IvitNRRs5fIMtU1U2xZkOk+iGCiUne0MAs4sEIZEyTW393
RuMM9o+n7u7iOQcop45sK6PxxDukuM/Xwg9iFoL8CELRbXg0kLtVhVUfUlGzoJWM
rDN0ezJdSqhwUOP6ufCV4U/ZWV8i531XwW3ZDCvQW63jIIfme07FADEaSCmkTAwJ
7ERN8Ae3hbNjfHSJRnzQPSCbeJlMyMT3JnheO2Tks6PcM0gd0jgUp8TvH632Nrcd
1auvGozMIYTGewqrPnYh1G8ljErPb05gqzvybFal3mc64fgVKGpuXc3e9jvUqfXp
WsXQfOeydMIXp4UED42gUQhRTEik9UfZFp76KqhC0iDA1jf0IwHT51xxPUdr/bXo
Kb9fJxZQrNVA87J6q6f9acsLs4Jzxs8+Tlc+01oXFvlmoKRTpok=
=xfUb
-----END PGP SIGNATURE-----