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
Graham MacDonald edited this page Sep 14, 2020
·
2 revisions
To build and run go in Harvey, follow these steps below. In these steps, we specify the last known good version of go that the team uses. As Harvey uses the Plan 9 build, and Plan 9 does not have first line support in Go, there's always a chance a more recent build won't work. Note that we clone into a folder called golang because the Harvey project has its own go git repo, for the code written in go.
Cross Compiling Go
git clone git@github.com:golang/go.git golang
cd golang
git checkout --track origin/release-branch.go1.15
cd src
GOOS=plan9 GOARCH=amd64 ./bootstrap.bash
You now have a folder named ../../go-plan9-amd64-bootstrap and the bzip tar file ../../go-plan9-amd64-bootstrap.tbz. The next step is to copy the folder to Harvey (again on the host):