Commit graph

90 commits

Author SHA1 Message Date
BrewTestBot
94ed2ecd0d go: update 1.2.1 bottle.
Closes Homebrew/homebrew#27164.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-03 20:02:59 +00:00
Paul Hammond
789e8ec1f0 go: don't put cross-compile links in bin
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-03 20:02:56 +00:00
BrewTestBot
257997fef7 go: update 1.2.1 bottle.
Closes Homebrew/homebrew#27150.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-03-02 22:49:25 -06:00
Brett Koonce
fe05268437 go 1.2.1 2014-03-02 22:49:22 -06:00
Mike McQuaid
29aea6018b go: hardcode GOROOT in caveats.
Closes Homebrew/homebrew#26235.
2014-01-29 16:24:42 +01:00
Trevor Rosen
4ab0965e19 go: suggest adding GOROOT bin to PATH.
Closes Homebrew/homebrew#25508.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-29 21:33:01 +00:00
Jack Nagel
fbba28988c Remove parens in conditional 2013-12-01 20:20:05 -06:00
Jack Nagel
325ddbc2f7 go: prune caveats 2013-12-01 20:09:07 -06:00
Jack Nagel
7542f5a73f go 1.2 bottles 2013-12-01 20:08:54 -06:00
Jonathon Klobucar
620f86a6b6 go 1.2
Closes Homebrew/homebrew#24853.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-01 20:08:52 -06:00
Coda Hale
98f9ab9322 Go devel 1.2rc5.
Closes Homebrew/homebrew#24474.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-18 22:03:00 -08:00
Coda Hale
f336db9427 Go devel 1.2rc4.
Closes Homebrew/homebrew#24262.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-11-13 11:03:35 -06:00
Mike McQuaid
18e91090cf go: use compiler from superenv. 2013-11-07 12:06:07 +00:00
Coda Hale
e3e348ae28 Go devel 1.2rc3.
Closes Homebrew/homebrew#23871.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-01 21:08:14 -07:00
Mike McQuaid
877b1adbbf go: only patch if stable build. 2013-10-30 09:36:07 -07:00
Nikolaus Wittenstein
5268106c63 go: don't patch HEAD installs
The patch was inserting an extra case statement, but a duplicate case
statement is already included in HEAD (and devel).

Closes Homebrew/homebrew#23787.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-30 09:30:27 -07:00
Jonathon Klobucar
f5fd91880d go 1.2rc2 (devel)
Update documentation and don't check with go vet. That is now in
go.tools starting in go 1.2. Make a check that go is working by using
`go fmt` and running a smal go program.

Closes Homebrew/homebrew#23359.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-19 09:18:46 +01:00
Mike McQuaid
7a8861893f go: fix cgo clang support in devel.
Closes Homebrew/homebrew#23001.
Closes Homebrew/homebrew#23139.
References Homebrew/homebrew#23119.
2013-10-12 21:59:51 +01:00
Mike McQuaid
3a83a8bbc9 go: build cgo with clang for devel versions.
Closes Homebrew/homebrew#23119.
2013-10-08 08:39:16 +01:00
Mike McQuaid
bbf31a6a04 go: fix --without-cgo description. 2013-09-28 09:04:46 +01:00
Mike McQuaid
c1d63ec371 go: add bottles.
Closes Homebrew/homebrew#22803.
2013-09-27 08:19:19 +01:00
Mike McQuaid
a85bae970c go: depend on apple-gcc42 on >=10.8. 2013-09-27 08:17:47 +01:00
Jonathon Klobucar
20fdb9d76c go --devel 1.2RC1
Closes Homebrew/homebrew#22720.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-22 19:22:43 -07:00
Max Howell
5e73b50f43 Sod it.
And with this commit, I lose interest in contributing to Homebrew entirely.

Closes Homebrew/homebrew#22609
2013-09-21 14:42:18 -05:00
Adam Vandenberg
b564f619e3 go: simplify target list
Remove "opts" and figure out cgo based on os
2013-09-18 21:54:43 -07:00
Adam Vandenberg
6ec565efc0 go: install to libexec to keep private headers
Install all files to libexec, including go private headers.
Symlink binaries to bin from there.

Closes Homebrew/homebrew#22638.
2013-09-18 21:54:43 -07:00
Misty De Meo
ec2e9cd42a go: upstream patch for clang when cross-compiling
More properly fixes Homebrew/homebrew#22610.
2013-09-17 12:43:21 -07:00
Misty De Meo
2912e8fa10 go: fails_with :clang when cross-compiling
These fails_with conditions are getting far too complex and probably
should be simplified.

Fixes Homebrew/homebrew#22610.
2013-09-17 09:00:48 -07:00
Max Howell
206739fddb Fix go cross compiler
Sorry for this regression. HEARTS AND HUGS --mxcl

Refs Homebrew/homebrew#22505
2013-09-14 14:17:20 -05:00
Max Howell
44cb96e012 Sorry, I meant to use ENV.compiler 2013-09-02 22:28:06 -05:00
Max Howell
bc1cf65cde Go builds with clang, without cgo module 2013-09-02 22:20:38 -05:00
Eric Gravert
db1aac6a96 Fixed buildpath typo that was preventing the formula from working correctly.
Closes Homebrew/homebrew#21910.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>
2013-08-15 03:13:32 -07:00
Adam Vandenberg
a7e4b6e30e go: use buildpath 2013-08-14 21:45:57 -07:00
morou
b01654fb87 go: add option for building without cgo
Closes Homebrew/homebrew#20960.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-14 21:44:18 -07:00
Cheah Chu Yeow
7509adb4dc Go 1.1.2.
Closes Homebrew/homebrew#21863.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-13 06:30:08 -07:00
Jack Nagel
d7c94c3084 go: fix test 2013-08-10 22:10:53 -05:00
Jack Nagel
dbd0a579e5 go: cleanup
- remove outdated comment
 - remove pointless ENV cleanup
 - remove dead "allow_fail" code
 - remove superfluous parens in block arguments
 - fix indentation
2013-08-10 22:02:01 -05:00
Jonathan Schleifer
25b4ca24b8 go: add NetBSD cross-compiler
Closes Homebrew/homebrew#20537.

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

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-14 09:21:24 -07:00
Peter Eisentraut
5b6d330e55 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 Homebrew/homebrew#18752.
2013-06-09 08:33:58 -07:00
Jack Nagel
21c3d0b9a6 go: use test assertion 2013-06-08 21:32:24 -05:00
Jonathon Klobucar
cd09fd396f 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 Homebrew/homebrew#19782.

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

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

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

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

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

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-04 12:04:56 -07:00
Jack Nagel
4778e0da1b go: fix quoting in test 2013-03-26 00:02:30 -05:00
Jack Nagel
ec11577107 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 Homebrew/homebrew#18175.
2013-03-12 13:55:15 -05:00