From 8f5f347e2c32ad1045ca902faab3d0c0fd735ae9 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 21 Dec 2011 07:47:12 -0500 Subject: cmd/go: many improvements * correct dependency calculations * comment meaning of action fields * new alias "std" like "all" but standard packages only * add -o flag to 'go build' * set up for parallel build (still serial) * understand that import "C" depends on cgo, runtime/cgo R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5502055 --- src/make.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/make.bash') diff --git a/src/make.bash b/src/make.bash index c793956103..000020ecd9 100755 --- a/src/make.bash +++ b/src/make.bash @@ -89,7 +89,7 @@ echo; echo; echo %%%% making runtime generated files %%%%; echo ( cd "$GOROOT"/src/pkg/runtime ./autogen.sh - gomake install # copy runtime.h to pkg directory + gomake install; gomake clean # copy runtime.h to pkg directory ) || exit 1 if $USE_GO_TOOL; then @@ -98,7 +98,7 @@ if $USE_GO_TOOL; then ./buildscript_${GOOS}_$GOARCH.sh echo '# Building Go code.' - GOPATH="" go install -a all + go install -a std else echo; echo; echo %%%% making pkg %%%%; echo gomake -C pkg install -- cgit v1.3