Skip to content

Commit

Permalink
cmd/go: enable concurrent backend compilation by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
josharian committed May 9, 2017
1 parent f4e5bd4 commit 5e0bcb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/go/internal/work/build.go
Expand Up @@ -144,7 +144,7 @@ See also: go install, go get, go clean.
`, `,
} }


const concurrentGCBackendCompilationEnabledByDefault = false const concurrentGCBackendCompilationEnabledByDefault = true


func init() { func init() {
// break init cycle // break init cycle
Expand Down

0 comments on commit 5e0bcb3

Please sign in to comment.