Commit Graph
53 Commits
Author SHA1 Message Date
Jonathan Schleifer 79771f7a1a go: add NetBSD cross-compiler
Closes #20537.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-18 07:47:45 -07:00
Daisuke Murase 55c19bd7f8 go 1.1.1
Closes #20456.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-14 09:21:24 -07:00
Peter Eisentraut c6f0c50ef0 go: Correct file name for zsh completions
Previously, the completion file was installed as "_go", which by
convention means that it will be loaded by compinit.  But this file
does not have the #compdef tag, so this doesn't work, and nothing in
the file indicates that it is supposed to be used that way.

Therefore, install the file under the original name "go" to indicate
that you need to load it manually (as the comment in the file
suggests).

Closes #18752.
2013-06-09 08:33:58 -07:00
Jack Nagel 4dc3ad4bf5 go: use test assertion 2013-06-08 21:32:24 -05:00
Jonathon Klobucar 150ff590ad go 1.1
Removes the now-outdated devel block.

Also require the use of the correct clang compiler
by default. This change was needed when using
--devel and now needed in stable.

A new caveat has also been added explaining how a
$GOPATH must be set and cannot be the same as
$GOROOT From the 1.1 release notes listed below.
http://golang.org/doc/go1.1#gocmd

Closes #19782.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-05-15 16:28:05 -05:00
Jonathon Klobucar 0f5dfc591a go --devel 1.1rc3
Closes #19717.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-10 08:40:11 -07:00
Jonathon Klobucar e040dba290 go devel 1.1rc2
Closes #19648.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-07 07:46:35 -07:00
Adam Vandenberg c150b7ed85 use bash/zsh path helpers 2013-05-03 11:03:42 -07:00
Jonathon Klobucar 55a45badf7 go --devel 1.1rc1
Closes #19562.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-01 20:18:14 -07:00
Brett Koonce cd0d3b8636 go devel 1.1 beta2
Closes #19053.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-08 15:05:49 -05:00
Jonathon Klobucar 7a800095ca go --devel 1.1 beta
Closes #18969.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-04 12:04:56 -07:00
Jack Nagel bd7a5b60a7 go: fix quoting in test 2013-03-26 00:02:30 -05:00
Jack Nagel 5ddd40b844 Switch compilers when no build is specified
Given the current state of OS X compilers, the original fails_with
behavior is becoming less useful, mostly resulting in build failures
each time the compiler is updated. So make the following changes:

When a build is specified, we retain the old behavior: switch compilers
if the available compiler is <= the build, don't switch if it is > the
build.

When no build is specified, unconditionally switch compilers, and don't
output the advice message. This allows us to mark formulae as
perpetually failing, avoiding the need to update formulae each time a
new compiler build is made available.

As a bonus, this makes the logic much easier to reason about.

Closes #18175.
2013-03-12 13:55:15 -05:00
Jacob Appelbaum 35b0414670 go: fix --HEAD build and use https for HEAD hg.
Closes #18030.
Closes #17913.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-23 08:00:27 +00:00
Joe Shaw 92850b300c go: host platform must always be the last one built
Each cross-compiler step also rebuilds the host platform.  If
ENABLE_CGO=0 in a later build step, important OS routines (like looking
up x509 certificates in the keychain) are not implemented even for the
host platform.

Closes #17758.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-11 20:48:23 -08:00
Simon Menke cda2c33476 go: disable the plan9 cross-compiler
Closes #16242.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-14 12:59:09 -08:00
Jack Nagel 0ee50d01f6 go: call write on the correct type
Fixes #16507.
2012-12-10 14:52:42 -06:00
Samuel Cochran 557827626f go: Install zsh completions
Closes #16364.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-02 20:25:29 -08:00
Simon Menke 75e0d30736 go: allow building the cross-compilers
When the `--cross-compile` option is used the following runtimes will be build:

- darwin  (386, amd64; with CGO)
- linux   (386, amd64, arm)
- freebsd (386, amd64)
- openbsd (386, amd64)
- plan9   (386)
- windows (386, amd64)

Closes #12547.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-25 08:04:50 -08:00
Timothée Peignier 6fea940929 go 1.0.3
Closes #15086.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-24 12:30:41 -07:00
Adam Vandenberg 95d2904f21 go: use new dsl 2012-09-03 12:31:06 -07:00
tamird 11530d2662 go: install bash completion
Closes #14287.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-22 20:56:01 -07:00
Ealden Esto E. Escanan 475cf02938 Go 1.0.2
Signed-off-by: Ealden Esto E. Escanan <ealden@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-14 21:35:18 -07:00
Jack Nagel f7adda3893 go: don't install conflicting header files
Closes #12457.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-29 14:08:46 -05:00
Jack Nagel a82d5d9e64 go: use prefix instead of Pathname.pwd
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-08 01:15:12 -05:00
Pascal Bertrand be5de13da6 go 1.0.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-28 09:32:43 -07:00
Adam Vandenberg 7394ce6866 Go: remove unofficial Git mirror 2012-04-16 19:10:52 -07:00
Pascal Bertrand 0342d4a028 go 1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-01 13:35:26 -07:00
Bart Leusink 112e155738 go: fix-up HEAD install 2012-02-25 22:52:57 -08:00
Adam Vandenberg d3f3554299 Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Alexey Palazhchenko 0ba0f114d6 go: Update to r60.3
Closes #8567.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-13 12:54:18 -08:00
Travis Cline 06ce29b5de go: Update to r60.1
Closes #7513.
Closes #7731.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-20 22:19:51 -07:00
Steven Degutis 0f6a86961f go: fix tag for --use-git
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-13 09:46:59 -07:00
José Martínez e45cdb7c8c Go r59
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-07 10:17:09 -07:00
Gabriele Carrettoni 49916f433f go r58.1
Fixes compilation on Lion.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-21 08:20:55 -07:00
José Martínez a7b1645e0a go: use stable release and fix build
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 08:24:28 -07:00
Chris Schepman 128eda2b03 go: install AUTHORS to prevent test failure
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-06 11:08:02 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg 82c1a9d96d go - autodetects build environment now 2011-02-21 22:05:21 -08:00
Adam Vandenberg c866bb1765 Fix go caveats 2010-11-21 15:59:54 -08:00
Tianyi Cui 7871a99fe3 Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg 1bcb9481d1 go - fix audit and github tag 2010-10-24 13:21:57 -07:00
Drew Hess 169f54c5d3 go: added --use-git-head option to formula.
Uses http://github.com/tav/go.git git mirror of official Mercurial
repository to obviate the need for installing Mercurial.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-23 11:24:31 -07:00
Augie Fackler 280f986814 Go: include templates for godoc.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

 * Also clean up a bit.
2010-10-20 21:10:51 -07:00
Adam Vandenberg ed51a5be97 Don't need +x on these 2010-08-13 16:00:17 -07:00
Max Howell d2e9736950 Use new symlink aliases 2010-08-07 18:08:50 -07:00
Adam Vandenberg f4ad627294 Go - keep make files and export GOBIN 2010-05-20 20:06:46 -07:00
Adam Vandenberg b414a074df Remove explicit download strategy from Go. 2010-03-17 20:05:05 -07:00
Adam Vandenberg 2732a472ff Go - use --cellar 2010-02-18 13:35:01 -08:00
Max Howell f3a314fd2b Go won't install with multiple make jobs
Fixes #237.
2009-12-21 18:00:18 +00:00