You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/buildgo: handle different layout of go.dev/dl/ tarballs
The genbootstrap-generated bootstrap tarballs placed all files at the
root of the tarball, while the go.dev/dl/ tarballs place them in 'go'.
So when using a tarball from go.dev/dl/ as the bootstrap toolchain, the
previously working GOROOT_BOOTSTRAP=$WORKDIR/go1.4 now ends up needing
a slight change to GOROOT_BOOTSTRAP=$WORKDIR/go1.4/go.
This was missed in CL 520901. Fix it now, so that it's possible to
switch to using the go.dev/dl/ tarballs as originally intended there.
Balance out this new complexity slightly by removing a condition for
leaving out the -force flag. The Go 1.20 release branch has aged out.
Change-Id: I6e598e66020e46cc11d40b21663ddb6bd6792fb2
Reviewed-on: https://go-review.googlesource.com/c/build/+/606835
Reviewed-by: Cherry Mui <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
0 commit comments