From: Leo Famulari <leo@famulari.name>
To: Matthew Jordan <matthewjordandevops@yandex.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] add go@1.5
Date: Mon, 11 Jul 2016 23:17:53 -0400 [thread overview]
Message-ID: <20160712031753.GA2237@jasmine> (raw)
In-Reply-To: <87k2gtyrtj.fsf@guixsd-mailerver.i-did-not-set--mail-host-address--so-tickle-me>
On Sun, Jul 10, 2016 at 07:52:08PM -0400, Matthew Jordan wrote:
> * gnu/packages/golang.scm (go-1.5): New variable.
I don't have the knowledge to comment on the Go specific stuff in this
package, but I have some more general comments.
The tests 'runtime' and 'cmd/go' failed due to the default 3 minute
time-limit when building on my slow machine, this thing:
<http://pcengines.ch/apu2b4.htm>
They passed in 193 and 216 seconds, respectively, when I set the
environment variable GO_TEST_TIMEOUT_SCALE to 9999, as suggested in this
bug report: <https://github.com/golang/go/issues/12404>
I've used the system-on-a-chip (SOC) mentioned in that bug report
(Allwinner A20), and my slow computer is faster than it. Since we
support ARMv7 and the A20 is a very popular ARMv7 SOC, I think we should
set this variable in the package definition.
> +(define-public go-1.5
> + (package
> + (inherit go-1.4)
We should try to inherit as much as possible from go-1.4, and when we
can't, we should at least try to use the same style (indentation, etc),
so that it's clear to readers what is different.
Can anyone say if it's possible to inherit specific build phases that
are common between the two packages?
> + (name "go")
I believe the name should be inherited, so this can be removed.
> + (add-before 'build 'prebuild
If it is possible to inherit some phases and as mentioned above, maybe
this phase could be split into parts that are common between go-1.4 and
go-1.5 and parts that are different.
next prev parent reply other threads:[~2016-07-12 3:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-10 23:52 [PATCH] add go@1.5 Matthew Jordan
2016-07-11 2:47 ` Leo Famulari
2016-07-11 23:44 ` Matthew Jordan
2016-07-12 3:17 ` Leo Famulari [this message]
2016-07-13 21:29 ` Ludovic Courtès
2016-07-12 4:11 ` Alex Griffin
2016-07-12 9:47 ` Matthew Jordan
2016-07-12 15:22 ` Alex Griffin
2016-07-12 22:47 ` Matthew Jordan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160712031753.GA2237@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=matthewjordandevops@yandex.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.