-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This also changes the bootstrap source URL to the official GitHub mirror, to make building easier for places where Google sites aren't accessible. Fixes #6326. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ endif | |
|
||
|
||
GO_VERSION_MAJOR_MINOR:=1.10 | ||
GO_VERSION_PATCH:= | ||
GO_VERSION_PATCH:=3 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,13 @@ PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PAT | |
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=go$(PKG_VERSION).src.tar.gz | ||
PKG_SOURCE_URL:=https://golang.org/dl/ | ||
PKG_HASH:=f3de49289405fda5fd1483a8fe6bd2fa5469e005fd567df64485c4fa000c7f24 | ||
PKG_SOURCE_URL:=https://golang.org/dl/ \ | ||
https://dl.google.com/go/ \ | ||
https://fossies.org/linux/misc/ \ | ||
http://distfiles.gentoo.org/distfiles/ \ | ||
https://ftp.netbsd.org/pub/pkgsrc/distfiles/ \ | ||
https://distfiles.macports.org/go/ | ||
PKG_HASH:=567b1cc66c9704d1c019c50bef946272e911ec6baf244310f87f4e678be155f2 | ||
|
||
PKG_LICENSE:=BSD-3-Clause | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
@@ -52,7 +57,7 @@ HOST_GO_VALID_OS_ARCH:= \ | |
linux_ppc64 linux_ppc64le linux_mips linux_mipsle linux_mips64 linux_mips64le | ||
|
||
BOOTSTRAP_SOURCE_PROTO:=git | ||
BOOTSTRAP_SOURCE_URL:=https://go.googlesource.com/go | ||
BOOTSTRAP_SOURCE_URL:=https://github.com/golang/go.git | ||
BOOTSTRAP_SOURCE_VERSION:=4d5426a570c2820c5894a61b52e3dc147e4e7925 | ||
BOOTSTRAP_SOURCE_DATE:=20170926 | ||
BOOTSTRAP_MIRROR_HASH:=a3e26ee7c96486c841d29cbea3bf548ce2d999b9235275091cbe60ae6efa4cb1 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jefferyto
Author
Member
|
||
|
Hi, @jefferyto , I just found out that the golang team actually provides updated tarballs for recent tagged go1.4 sources. It's official as written in [1] and it's go1.4-bootstrap-20171003.tar.gz at the moment.
As for the mirror urls, please consider adding [2] as a source, and move those go specific ones to the front. The gentoo link can be removed as it does not provide any go sources at all.
[1] https://golang.org/doc/install/source
[2] http://mirrors.ustc.edu.cn/golang/