Tuesday, 15 March 2011

"go build" became very slow after installing a new version of Go -



"go build" became very slow after installing a new version of Go -

after upgrading go 1.2.1 1.3 (windows 7 64 bit) "go build" execution time has increased around 4 on 45 seconds. there no other changes except go version update. switching off virus scanner seems have no effect. clues?

you have dependencies beingness recompiled each time. seek go install -a mypackage rebuild dependencies.

removing $gopath/pkg helps ensure don't have old object files around.

building -x flag show if toolchain finding incompatible versions.

go

No comments:

Post a Comment