1
0
mirror of https://github.com/golang/go synced 2024-11-06 03:26:15 -07:00
go/src/cmd/dist
Lynn Boger 03e1870b63 cmd/dist: enable testsanitizer test on ppc64le
Even though the -race option works for ppc64le, some of the
testsanitizer test have failed in the past on our builders. These
same failures can't be reproduced on other systems.

This is an experiment to re-enable this test on ppc64le to see if
it still fails on the builders.

Updates #45040

Change-Id: I0729bec5864e6c4cc752968485e89179df027063
Reviewed-on: https://go-review.googlesource.com/c/go/+/424534
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Archana Ravindar <aravind5@in.ibm.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-18 17:01:12 +00:00
..
build.go all: use "noopt" build tag for checking optimization disabled 2022-08-17 04:02:17 +00:00
buildgo.go all: fix various doc comment formatting nits 2022-04-01 18:18:01 +00:00
buildruntime.go cmd/dist: force stackGuardMultiplierDefault to 1 2022-08-05 15:19:31 +00:00
buildtag_test.go cmd/dist: add buildtag parsing test 2021-11-25 00:02:52 +00:00
buildtag.go cmd/dist: implement //go:build parsing 2021-10-28 03:35:04 +00:00
buildtool.go internal/saferio: new package to avoid OOM 2022-08-11 20:05:25 +00:00
doc.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
exec.go
imports.go
main.go cmd/dist: support dist tool for loong64 2022-05-01 00:05:20 +00:00
notgo117.go cmd/dist: require Go 1.17 for building Go 2022-08-04 14:47:49 +00:00
quoted.go cmd/dist: support spaces and quotes in CC 2022-05-26 20:14:15 +00:00
README
sys_default.go
sys_windows.go Revert "cmd/dist: log CPU model when testing" 2022-01-14 20:50:36 +00:00
test_linux.go
test.go cmd/dist: enable testsanitizer test on ppc64le 2022-08-18 17:01:12 +00:00
util_gc.go
util_gccgo.go
util.go os/exec: return error when PATH lookup would use current directory 2022-05-02 14:54:05 +00:00
vfp_arm.s
vfp_default.s

This program, dist, is the bootstrapping tool for the Go distribution.

As of Go 1.5, dist and other parts of the compiler toolchain are written
in Go, making bootstrapping a little more involved than in the past.
The approach is to build the current release of Go with an earlier one.

The process to install Go 1.x, for x ≥ 5, is:

1. Build cmd/dist with Go 1.4.
2. Using dist, build Go 1.x compiler toolchain with Go 1.4.
3. Using dist, rebuild Go 1.x compiler toolchain with itself.
4. Using dist, build Go 1.x cmd/go (as go_bootstrap) with Go 1.x compiler toolchain.
5. Using go_bootstrap, build the remaining Go 1.x standard library and commands.

NOTE: During the transition from the old C-based toolchain to the Go-based one,
step 2 also builds the parts of the toolchain written in C, and step 3 does not
recompile those.

Because of backward compatibility, although the steps above say Go 1.4,
in practice any release ≥ Go 1.4 but < Go 1.x will work as the bootstrap base.

See golang.org/s/go15bootstrap for more details.

Compared to Go 1.4 and earlier, dist will also take over much of what used to
be done by make.bash/make.bat/make.rc and all of what used to be done by
run.bash/run.bat/run.rc, because it is nicer to implement that logic in Go
than in three different scripting languages simultaneously.