/ go Public
cmd/dist: feature request: control over maximum number of CPUs used during build and test #22445
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version devel +a31e0a4aac Sat Oct 21 11:32:53 2017 +0000 darwin/amd64
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/75/tsmllrjr8xl81b0059bfyyd00000gs/T/go-build923680158=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
all.bashafter updating with
What did you expect to see?
No more than
$GOMAXPROCSused during the build and testing process.
What did you see instead?
Every processor available being utilized.
I really like to be able to limit the number of logical processors that the build and test process Go uses. The logical choice would be for the process to respect the environment variable
GOMAXPROCS. The reason for wanting to impose this limit is to manage the amount of heat produced on my system during the process.
The text was updated successfully, but these errors were encountered: