mirror of
https://github.com/golang/go
synced 2024-10-04 07:11:21 -06:00
8231548365
should let a 6g build and an 8g build be done in sequence without stepping on each other. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=35478 CL=35481
20 lines
500 B
Bash
Executable File
20 lines
500 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright 2009 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
rm -rf $GOROOT/pkg/${GOOS}_$GOARCH
|
|
rm -f $GOROOT/lib/*.a
|
|
for i in lib9 libbio libcgo libmach libregexp cmd pkg \
|
|
../misc/cgo/gmp ../misc/cgo/stdio \
|
|
../usr/r/rpc ../usr/dsymonds/iterable \
|
|
../usr/austin/eval ../usr/austin/ogle ../test/bench
|
|
do(
|
|
cd $i
|
|
if test -f clean.bash; then
|
|
bash clean.bash
|
|
else
|
|
make clean
|
|
fi
|
|
)done
|