aboutsummaryrefslogtreecommitdiff
path: root/_content/doc/install/source.html
AgeCommit message (Collapse)Author
2026-03-18doc/install/source: document GOARM64 environment variablekovan
Add GOARM64 documentation following the pattern of GOAMD64, linking to the MinimumRequirements wiki page for allowed options. Fixes golang/go#77219 Change-Id: Ibac873846010e4fd7e6b28bcfa9f140926292399 Reviewed-on: https://go-review.googlesource.com/c/website/+/741420 Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2026-02-11doc/install/source: update environment variable sectionIan Lance Taylor
Clarify that setting an environment variable at build time sets the default for the newly built tools. Remove docs for environment variables that are not actually used during the build: GOPATH, GOROOT_FINAL, GOBIN, GOHOSTOS. For golang/go#77495 Change-Id: I3575de99c6efe9492ee7e014f36b41d2b144485b Reviewed-on: https://go-review.googlesource.com/c/website/+/743421 Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com>
2025-11-19_content/doc/install: prefer make.bash for source installDan Peterson
The source install directions use all.bash with a later mention of make.bash. This can lead to surprises when the tests take a long time or aren't reliable in certain environments. Change things to prefer make.bash with a mention of all.bash later. Updates golang/go#76142 Change-Id: Ibe5ea3b1c2da3733ed8e36f4938cae754bd3a027 Reviewed-on: https://go-review.googlesource.com/c/website/+/717040 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
2025-08-25_content/doc/install/source: mention GORISCV64=rva23u64Mark Ryan
Go 1.25 updates the GORISCV64 environment variable to accept a new value; "rva23u64". When GORISCV64="rva23u64" the tool chain is allowed to use any mandatory extensions that are specified in the RVA23U64 profile. This is already documented in "go help environment" but not in the "Installing Go from source" web page. Change-Id: Id52c86874a5706e126007344ce695d6344b2efa2 Reviewed-on: https://go-review.googlesource.com/c/website/+/698935 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Auto-Submit: Sean Liao <sean@liao.dev> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Sean Liao <sean@liao.dev>
2024-12-04_content/doc/install/source: mention GORISCV64Mark Ryan
Go 1.23 added support for the GORISCV64 environment variable that can be used to instruct the compiler to target a specific RISC-V application profile. By default, GORISCV64 is set to rva20u64 allowing the compiler to target the mandatory extensions in the RVA20U64 profile, essentially rv64gc. By setting GORISCV64 to a later profile, such as rva22u64, the compiler can use additional instructions, such as those provided by Zba, Zbb and Zbs extensions, to reduce code size and improve performance. This is all already documented in "go help environment" but not in the "Installing Go from source" web page. This commit fixes that oversight. Updates golang/go#61476 Change-Id: Ie4aa1804c64b5abf5a3089e1e201d85af65e6119 Reviewed-on: https://go-review.googlesource.com/c/website/+/633615 Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
2024-04-22website/_content/doc: add goroot tag exampleqiulaidongfeng
Fixes golang/go#66448 Change-Id: I3f5e0f277c905381d55c5e95480f51f3004ee47a GitHub-Last-Rev: 967514323b06ff24b9c4d45d5c1842e141cae1fe GitHub-Pull-Request: golang/website#276 Reviewed-on: https://go-review.googlesource.com/c/website/+/573735 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Cherry Mui <cherryyz@google.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2024-04-11_content/doc: update references to obsolete godocAlan Donovan
Updates golang/go#59056 Change-Id: I43ff06556e06c5bd76ee17632d3b316a7fbb7e70 Reviewed-on: https://go-review.googlesource.com/c/website/+/571101 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-21_content/doc/install: document minimum bootstrap versionsSean Liao
Fixes golang/go#65654 Updates golang/go#54265 Updates golang/go#44505 Change-Id: Ia1c9b50a2f66b67db43e8dcd21b1002b66cf30fa Reviewed-on: https://go-review.googlesource.com/c/website/+/562619 Auto-Submit: Robert Findley <rfindley@google.com> Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Austin Clements <austin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-01-31_content/doc/install: update GOARM default on non-arm systemsDmitri Shuralyov
As of Go 1.21, the default GOARM value when cross-compiling is 7. This was done in CL 470695. Update its documentation accordingly. For golang/go#24904. For golang/go#65241. Change-Id: I04a22b1e6d5b324615b4822f18db3c53270cf4fb Reviewed-on: https://go-review.googlesource.com/c/website/+/560015 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-12-08_content: rewrite links to https://go.dev/foo to /fooRuss Cox
We use /foo consistently so that people browsing on golang.google.cn are not redirected to go.dev. This CL is completely mechanical, replacing href="https://go.dev/ -> href="/ in HTML and replacing ](https://go.dev/ -> ](/ in Markdown. Change-Id: I8ac732d672075600c8e53c46787205454b196850 Reviewed-on: https://go-review.googlesource.com/c/website/+/548058 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Russ Cox <rsc@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-07-18_content/doc/install: mention GOOS=wasip1Cherry Mui
Updates golang/go#58141. Change-Id: I7cfa8045ad9d27f1cc97bffb4ee2ac1a8c79e7c1 Reviewed-on: https://go-review.googlesource.com/c/website/+/495535 Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Achille Roussel <achille.roussel@gmail.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Tianon Gravi (Andrew) <admwiggin@gmail.com> Reviewed-by: Eli Bendersky <eliben@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2023-02-23_content/doc/install: fix broken link to system requirementsJamal Carvalho
Fixes golang/go#58464. Change-Id: Id2477d488046977e2d1554f577b4c18f988d6583 Reviewed-on: https://go-review.googlesource.com/c/website/+/469975 Auto-Submit: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Jamal Carvalho <jamal@golang.org>
2023-02-14_content: Breadcrumbs added to children pages.Frederick Mixell
Added to all doc children page with doclayout. Added to Why Go pages. Added to Security pages. Video of Changes: https://drive.google.com/file/d/1wX9e9K9H9wPTaLLQHh15-cWzMTMRr9DO/view?usp=sharing Change-Id: I0fbf8e925e7fa357762d8eebd2bf13d561d49d86 Reviewed-on: https://go-review.googlesource.com/c/website/+/432775 Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-09-19_content: fix some frontend label bugscui fliter
Change-Id: I68b0601ec156257ede7d65cc253f5c4f0ec7c69d GitHub-Last-Rev: 1ccde8a81000ab6d311f15a72da391c012f27b99 GitHub-Pull-Request: golang/website#185 Reviewed-on: https://go-review.googlesource.com/c/website/+/431555 Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Michael Knyszek <mknyszek@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.com>
2022-08-14_content/doc/install/source: mention GOARCH=loong64WANG Xuerui
Fixes golang/go#54350. Change-Id: Idf290556c7a9f42c42dbdddaeb7f90896aaa5cba Reviewed-on: https://go-review.googlesource.com/c/website/+/421575 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Meng Zhuo <mzh@golangcn.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Meng Zhuo <mzh@golangcn.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-14_content/doc/install/source: reorder the table of GOOS/GOARCH combinationsWANG Xuerui
In particular, reorder the GOOS=linux entries so that the GOARCH is sorted in the same order as in the Introduction section. Change-Id: I3a4753888f023211e9fda77e341462dc3d87d06e Reviewed-on: https://go-review.googlesource.com/c/website/+/421574 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-03-23_content/doc/install/source: mention GOAMD64Ian Lance Taylor
Fixes golang/go#51704 Change-Id: I5f9efbbcd615ca7142311d8082fe1b36654df4eb Reviewed-on: https://go-review.googlesource.com/c/website/+/393554 Reviewed-by: Keith Randall <khr@google.com> Trust: Ian Lance Taylor <iant@google.com>
2021-11-22_content: replace scheme-relative URLs with https://Russ Cox
The time for scheme-relative URLs has passed. go.dev, like all of .dev, is an HTTPS-only domain. And golang.org has set HSTS headers for years too. So these relative links are always going to be https:// on the internet. When serving from http://localhost, they turn into http://, which is never what we want. So rewrite them all to hard-code https://. Change-Id: I1c25108910a12f2974b8f6ba86d49d0b697516a4 Reviewed-on: https://go-review.googlesource.com/c/website/+/365099 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-22all: make golang.org and go.dev links relativeRuss Cox
Now that there is one site, update all golang.org links to go.dev. But for any links being served from go.dev, make host-relative, so that when serving golang.google.cn, we stay on that host as much as possible. Change-Id: Id6e1303059b5522846a64202bc1a8b81dc3854cd Reviewed-on: https://go-review.googlesource.com/c/website/+/365095 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-10-12_content: change 'go get' to 'go install' where appropriateJay Conrod
For golang/go#43684 Change-Id: Ifdb0695d15961150960f7be3eb0fb44ac1f0d4d2 Reviewed-on: https://go-review.googlesource.com/c/website/+/355249 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-08-18_content/doc/install: add windows/arm and windows/arm64Michael Anthony Knyszek
This change adds windows/arm and windows/arm64 to the list of valid $GOOS and $GOARCH combinations. Fixes golang/go#47789. Change-Id: Iac102758f816a856f504473c623ad880caf3b72b Reviewed-on: https://go-review.googlesource.com/c/website/+/343216 Trust: Michael Knyszek <mknyszek@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-08-17_content: fix various html bugsRuss Cox
Change-Id: I17edcd0aab68844afdcf023b28ea5e0b652b1900 Reviewed-on: https://go-review.googlesource.com/c/website/+/342609 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-05-27_content/doc: update IRC serverSam Whited
See golang/go#46281 Change-Id: I35628633e47d92aa449d73512f80ed6326405229 GitHub-Last-Rev: 0013cd4b9719b15b53189f1a056399b028745a9e GitHub-Pull-Request: golang/website#53 Reviewed-on: https://go-review.googlesource.com/c/website/+/321731 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Josh Bleecher Snyder <josharian@gmail.com> Trust: Brad Fitzpatrick <bradfitz@golang.org>
2021-05-26all: remove Path metadata-based redirectsRuss Cox
Back when the entire site had to live in $GOROOT/doc, we needed some way to specify content that was served from URLs outside of golang.org/doc, so we added the ability for a doc to declare its own URL (the Path metadata). That meant the file system layout did not match the URL layout. That meant the content for any particular URL could be anywhere in the file system. That meant the entire file system had to be scanned to serve a URL. That meant an index of the file system had to be built and updated. Now that we have a file tree (_content) for the whole of golang.org, we can move files to make the file system layout match the URL space. Then each URL can be served by just reading the right file. Then the index and its updater can be deleted. And now if you want to edit /doc/gdb it's obvious which file to open. Change-Id: I3357f275e61a31c8de3091af580cac80753e71a4 Reviewed-on: https://go-review.googlesource.com/c/website/+/296383 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>