mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Don't set GOROOT=GOROOT_BOOTSTRAP
parent
c5c48c70ff
commit
1385efbf40
8
GoArm.md
8
GoArm.md
@ -346,10 +346,6 @@ Go Version: 1.5Beta1
|
|||||||
|
|
||||||
Special Notes: Enable a swap partition (<=1GB is fine). Build process is CPU-intensive and may cause the internal 90C temperature threshold to be exceeded - keep the HiKey cool during the build.
|
Special Notes: Enable a swap partition (<=1GB is fine). Build process is CPU-intensive and may cause the internal 90C temperature threshold to be exceeded - keep the HiKey cool during the build.
|
||||||
|
|
||||||
As mentioned above, cross-compile the toolchain (e.g. on Ubuntu AMD64) for ARM64 then transfer over the bootstrap tbz file, untar it, and use that as the `GOROOT_BOOTSTRAP` as well as the `GOROOT`:
|
As mentioned above, use bootstrap.sh (e.g. on Ubuntu AMD64) for ARM64, then transfer over the bootstrap tbx file, untar it, and use it as GOROOT_BOOTSTRAP. Check out the Go sources into a separate GOROOT, and build.
|
||||||
```
|
|
||||||
$ cd go/src
|
|
||||||
$ GOROOT=/path/to/go/bootstrap
|
|
||||||
$ GOROOT_BOOTSTRAP=$GOROOT ./all.bash
|
|
||||||
```
|
|
||||||
_--Andrew Cencini_ (andrew@vapor.io)
|
_--Andrew Cencini_ (andrew@vapor.io)
|
Loading…
x
Reference in New Issue
Block a user