From dca9ed4f8ccdba2a72e4adc94ac1be60cd417fe5 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 19 Aug 2015 23:24:28 +0300 Subject: [PATCH] Go 1.5 sets GOMAXPROC automatically Signed-off-by: Sergey Matveev --- common.mk | 2 +- doc/example.texi | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/common.mk b/common.mk index 874490b..576f35f 100644 --- a/common.mk +++ b/common.mk @@ -17,7 +17,7 @@ govpn-verifier: GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" govpn/cmd/govpn-verifier bench: - cd src/govpn ; GOPATH=$(GOPATH) GOMAXPROC=2 go test -bench . + cd src/govpn ; GOPATH=$(GOPATH) go test -bench . clean: rm -f govpn-client govpn-server govpn-verifier diff --git a/doc/example.texi b/doc/example.texi index 129b10f..757bd03 100644 --- a/doc/example.texi +++ b/doc/example.texi @@ -17,13 +17,6 @@ is 1432. @strong{Install}. At first you must @ref{Installation, install} this software: download, check the signature, compile. -Do not forget about setting @code{GOMAXPROC} environment variable for -using more than one CPU on both sides: - -@example -% export GOMAXPROC=4 -@end example - @strong{Prepare the server}. Create the new client, named (for example) "Alice": -- 2.44.0