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).
ClosesHomebrew/homebrew#18752.
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#gocmdClosesHomebrew/homebrew#19782.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
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.
ClosesHomebrew/homebrew#18175.
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.
ClosesHomebrew/homebrew#17758.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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)
ClosesHomebrew/homebrew#12547.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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>