LEFT | RIGHT |
(no file at all) | |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 # AUTO-GENERATED by buildscript.sh; DO NOT EDIT. | 2 # AUTO-GENERATED by buildscript.sh; DO NOT EDIT. |
3 # This script builds the go command (written in Go), | 3 # This script builds the go command (written in Go), |
4 # and then the go command can build the rest of the tree. | 4 # and then the go command can build the rest of the tree. |
5 | 5 |
6 export GOOS=linux | 6 export GOOS=linux |
7 export GOARCH=amd64 | 7 export GOARCH=amd64 |
8 export WORK=$(mktemp -d -t go-build.XXXXXX) | 8 export WORK=$(mktemp -d -t go-build.XXXXXX) |
9 trap "rm -rf $WORK" EXIT SIGINT SIGTERM | 9 trap "rm -rf $WORK" EXIT SIGINT SIGTERM |
10 set -e | 10 set -e |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 6g -o "$WORK"/time/_obj/_go_.6 -p time -I "$WORK" ./format.go ./sleep.go ./sys_u
nix.go ./tick.go ./time.go ./zoneinfo.go ./zoneinfo_unix.go | 245 6g -o "$WORK"/time/_obj/_go_.6 -p time -I "$WORK" ./format.go ./sleep.go ./sys_u
nix.go ./tick.go ./time.go ./zoneinfo.go ./zoneinfo_unix.go |
246 gopack grc "$WORK"/time.a "$WORK"/time/_obj/_go_.6 | 246 gopack grc "$WORK"/time.a "$WORK"/time/_obj/_go_.6 |
247 cp "$WORK"/time.a "$GOROOT"/pkg/linux_amd64/time.a | 247 cp "$WORK"/time.a "$GOROOT"/pkg/linux_amd64/time.a |
248 | 248 |
249 # | 249 # |
250 # os | 250 # os |
251 # | 251 # |
252 | 252 |
253 mkdir -p "$WORK"/os/_obj/ | 253 mkdir -p "$WORK"/os/_obj/ |
254 cd "$GOROOT"/src/pkg/os | 254 cd "$GOROOT"/src/pkg/os |
255 6g -o "$WORK"/os/_obj/_go_.6 -p os -I "$WORK" ./dir_unix.go ./env.go ./error.go
./error_posix.go ./exec.go ./exec_posix.go ./exec_unix.go ./file.go ./file_posix
.go ./file_unix.go ./getwd.go ./path.go ./path_unix.go ./proc.go ./stat_linux.go
./sys_linux.go ./time.go ./types.go ./zsignal_linux_amd64.go | 255 6g -o "$WORK"/os/_obj/_go_.6 -p os -I "$WORK" ./dir_unix.go ./doc.go ./env.go ./
error.go ./error_posix.go ./exec.go ./exec_posix.go ./exec_unix.go ./file.go ./f
ile_posix.go ./file_unix.go ./getwd.go ./path.go ./path_unix.go ./proc.go ./stat
_linux.go ./sys_linux.go ./time.go ./types.go ./zsignal_linux_amd64.go |
256 gopack grc "$WORK"/os.a "$WORK"/os/_obj/_go_.6 | 256 gopack grc "$WORK"/os.a "$WORK"/os/_obj/_go_.6 |
257 cp "$WORK"/os.a "$GOROOT"/pkg/linux_amd64/os.a | 257 cp "$WORK"/os.a "$GOROOT"/pkg/linux_amd64/os.a |
258 | 258 |
259 # | 259 # |
260 # reflect | 260 # reflect |
261 # | 261 # |
262 | 262 |
263 mkdir -p "$WORK"/reflect/_obj/ | 263 mkdir -p "$WORK"/reflect/_obj/ |
264 cd "$GOROOT"/src/pkg/reflect | 264 cd "$GOROOT"/src/pkg/reflect |
265 6g -o "$WORK"/reflect/_obj/_go_.6 -p reflect -I "$WORK" ./deepequal.go ./type.go
./value.go | 265 6g -o "$WORK"/reflect/_obj/_go_.6 -p reflect -I "$WORK" ./deepequal.go ./type.go
./value.go |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 # cmd/go | 488 # cmd/go |
489 # | 489 # |
490 | 490 |
491 mkdir -p "$WORK"/cmd/go/_obj/ | 491 mkdir -p "$WORK"/cmd/go/_obj/ |
492 cd "$GOROOT"/src/cmd/go | 492 cd "$GOROOT"/src/cmd/go |
493 6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./build.go ./fix.go ./fmt.
go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag
.go ./version.go ./vet.go | 493 6g -o "$WORK"/cmd/go/_obj/_go_.6 -p cmd/go -I "$WORK" ./build.go ./fix.go ./fmt.
go ./get.go ./help.go ./list.go ./main.go ./pkg.go ./run.go ./test.go ./testflag
.go ./version.go ./vet.go |
494 gopack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6 | 494 gopack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.6 |
495 6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a | 495 6l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a |
496 mkdir -p "$GOBIN"/ | 496 mkdir -p "$GOBIN"/ |
497 cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go | 497 cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go |
LEFT | RIGHT |