]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: enable concurrent backend compilation by default
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 26 Apr 2017 21:05:06 +0000 (14:05 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 9 May 2017 19:22:10 +0000 (19:22 +0000)
It can be disabled by setting the environment variable
GO19CONCURRENTCOMPILATION=0, or with -gcflags=-c=1.

Fixes #15756.

Change-Id: I7acbf16330512b62ee14ecbab1f46b53ec5a67b6
Reviewed-on: https://go-review.googlesource.com/41820
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/go/internal/work/build.go

index 0419eb29c2f55303a05d771d7ef6b98bf66e07d4..1cd2138087bd47f4ee250bf91ba6185c68db43e4 100644 (file)
@@ -144,7 +144,7 @@ See also: go install, go get, go clean.
        `,
 }
 
-const concurrentGCBackendCompilationEnabledByDefault = false
+const concurrentGCBackendCompilationEnabledByDefault = true
 
 func init() {
        // break init cycle