OLD | NEW |
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=openbsd | 6 export GOOS=openbsd |
7 export GOARCH=386 | 7 export GOARCH=386 |
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 8g -o "$WORK"/time/_obj/_go_.8 -p time -I "$WORK" ./format.go ./sleep.go ./sys_u
nix.go ./tick.go ./time.go ./zoneinfo.go ./zoneinfo_unix.go | 246 8g -o "$WORK"/time/_obj/_go_.8 -p time -I "$WORK" ./format.go ./sleep.go ./sys_u
nix.go ./tick.go ./time.go ./zoneinfo.go ./zoneinfo_unix.go |
247 gopack grc "$WORK"/time.a "$WORK"/time/_obj/_go_.8 | 247 gopack grc "$WORK"/time.a "$WORK"/time/_obj/_go_.8 |
248 cp "$WORK"/time.a "$GOROOT"/pkg/openbsd_386/time.a | 248 cp "$WORK"/time.a "$GOROOT"/pkg/openbsd_386/time.a |
249 | 249 |
250 # | 250 # |
251 # os | 251 # os |
252 # | 252 # |
253 | 253 |
254 mkdir -p "$WORK"/os/_obj/ | 254 mkdir -p "$WORK"/os/_obj/ |
255 cd "$GOROOT"/src/pkg/os | 255 cd "$GOROOT"/src/pkg/os |
256 8g -o "$WORK"/os/_obj/_go_.8 -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_openbsd.
go ./sys_bsd.go ./time.go ./types.go ./zsignal_openbsd_386.go | 256 8g -o "$WORK"/os/_obj/_go_.8 -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
_openbsd.go ./sys_bsd.go ./time.go ./types.go ./zsignal_openbsd_386.go |
257 gopack grc "$WORK"/os.a "$WORK"/os/_obj/_go_.8 | 257 gopack grc "$WORK"/os.a "$WORK"/os/_obj/_go_.8 |
258 cp "$WORK"/os.a "$GOROOT"/pkg/openbsd_386/os.a | 258 cp "$WORK"/os.a "$GOROOT"/pkg/openbsd_386/os.a |
259 | 259 |
260 # | 260 # |
261 # reflect | 261 # reflect |
262 # | 262 # |
263 | 263 |
264 mkdir -p "$WORK"/reflect/_obj/ | 264 mkdir -p "$WORK"/reflect/_obj/ |
265 cd "$GOROOT"/src/pkg/reflect | 265 cd "$GOROOT"/src/pkg/reflect |
266 8g -o "$WORK"/reflect/_obj/_go_.8 -p reflect -I "$WORK" ./deepequal.go ./type.go
./value.go | 266 8g -o "$WORK"/reflect/_obj/_go_.8 -p reflect -I "$WORK" ./deepequal.go ./type.go
./value.go |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 # cmd/go | 489 # cmd/go |
490 # | 490 # |
491 | 491 |
492 mkdir -p "$WORK"/cmd/go/_obj/ | 492 mkdir -p "$WORK"/cmd/go/_obj/ |
493 cd "$GOROOT"/src/cmd/go | 493 cd "$GOROOT"/src/cmd/go |
494 8g -o "$WORK"/cmd/go/_obj/_go_.8 -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 8g -o "$WORK"/cmd/go/_obj/_go_.8 -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 |
495 gopack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8 | 495 gopack grc "$WORK"/cmd/go.a "$WORK"/cmd/go/_obj/_go_.8 |
496 8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a | 496 8l -o "$WORK"/cmd/go/_obj/a.out -L "$WORK" "$WORK"/cmd/go.a |
497 mkdir -p "$GOBIN"/ | 497 mkdir -p "$GOBIN"/ |
498 cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go | 498 cp "$WORK"/cmd/go/_obj/a.out "$GOBIN"/go |
OLD | NEW |