unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Go build system updates and future work?
@ 2019-03-14 19:52 Leo Famulari
  2019-03-14 22:51 ` Pierre Neidhardt
  2019-03-16  2:40 ` Katherine Cox-Buday
  0 siblings, 2 replies; 10+ messages in thread
From: Leo Famulari @ 2019-03-14 19:52 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

I just pushed a revamped Go build system with commit
e3900a4d64e4bf6f426809d6bff058e5a2ae9bc8.

The main change is that instead of putting the list of Go-language
dependencies store paths in the GOPATH environment variable, these store
paths are union-symlinked into the build directory, and GOPATH points
there.

This fixes the issue of spurious store references
<https://bugs.gnu.org/33620> and should dramatically reduce the closure
size of certain Go packages. So now there is less reason to use bundled
libraries for Go programs.

I think we should consider another change in how we build Go software:
let's stop splitting up Go libraries instead sub-packages.

For example, the packages 'go-golang-org-x-net-ipv4' and
'go-golang-org-x-net-ipv6' are both from the same Git repo at
<https://go.googlesource.com/net>. We should just package
'go-golang-org-x-net'. It's unidiomatic to split them up. In practice, a
Go programmer would have cloned the Git repo into their Go workspace,
and would never have a "split view" of the x/net libraries.

Thoughts? I can work on this in the next week.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-03-17 17:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-14 19:52 Go build system updates and future work? Leo Famulari
2019-03-14 22:51 ` Pierre Neidhardt
2019-03-14 22:54   ` Pierre Neidhardt
2019-03-14 23:11     ` Leo Famulari
2019-03-16 10:08       ` Christopher Baines
2019-03-14 23:15   ` Leo Famulari
2019-03-15  6:54     ` Pierre Neidhardt
2019-03-16 10:49       ` swedebugia
2019-03-16  2:40 ` Katherine Cox-Buday
2019-03-17 17:43   ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).