From 5e0bcb3893c2e54fdb96affcafd2953f20dd64eb Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Wed, 26 Apr 2017 14:05:06 -0700 Subject: [PATCH] cmd/go: enable concurrent backend compilation by default 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 TryBot-Result: Gobot Gobot Reviewed-by: Keith Randall --- src/cmd/go/internal/work/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go index 0419eb29c2..1cd2138087 100644 --- a/src/cmd/go/internal/work/build.go +++ b/src/cmd/go/internal/work/build.go @@ -144,7 +144,7 @@ See also: go install, go get, go clean. `, } -const concurrentGCBackendCompilationEnabledByDefault = false +const concurrentGCBackendCompilationEnabledByDefault = true func init() { // break init cycle