Bug 18333: Upgrade go to 1.6.2.
It now requires an installation of go 1.4.x to bootstrap the build. We set CGO_ENABLED=0 when building the bootstrap go compiler because go 1.4.3 won't build with a newer GNU toolchain: https://github.com/golang/go/issues/13114. It didn't cause a problem for me on Ubuntu 14.04, but this will prevent it from breaking in the future. We don't need cgo in the bootstrap compiler. The other change is that the go build system no longer allows us to pass a command with arguments for CC_FOR_TARGET. I opened a ticket for it: https://github.com/golang/go/issues/15457. We need -I and -L arguments in the mac build so that gcc gan find its headers and libraries. So we wrap up the arguments in a shell script and use the shell script as CC_FOR_TARGET.
Showing
- gitian/descriptors/linux/gitian-pluggable-transports.yml 12 additions, 0 deletionsgitian/descriptors/linux/gitian-pluggable-transports.yml
- gitian/descriptors/mac/gitian-pluggable-transports.yml 21 additions, 6 deletionsgitian/descriptors/mac/gitian-pluggable-transports.yml
- gitian/descriptors/windows/gitian-pluggable-transports.yml 22 additions, 6 deletionsgitian/descriptors/windows/gitian-pluggable-transports.yml
- gitian/fetch-inputs.sh 3 additions, 2 deletionsgitian/fetch-inputs.sh
- gitian/verify-tags.sh 1 addition, 1 deletiongitian/verify-tags.sh
- gitian/versions 7 additions, 2 deletionsgitian/versions
- gitian/versions.alpha 7 additions, 2 deletionsgitian/versions.alpha
- gitian/versions.beta 7 additions, 2 deletionsgitian/versions.beta
- gitian/versions.nightly 7 additions, 2 deletionsgitian/versions.nightly
Please register or sign in to comment