]> Cypherpunks.ru repositories - govpn.git/commitdiff
Go 1.5 sets GOMAXPROC automatically
authorSergey Matveev <stargrave@stargrave.org>
Wed, 19 Aug 2015 20:24:28 +0000 (23:24 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 19 Aug 2015 20:24:28 +0000 (23:24 +0300)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
common.mk
doc/example.texi

index 874490b0cd865c9fb14750ae7522290a7b898f06..576f35f18b8340efd30d5612d89cfc4c6e864913 100644 (file)
--- 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
index 129b10f290e7abf3e055307d260054b7a8cc3b11..757bd031ad6bdda5ad6e283fdeb3d36222a3eb64 100644 (file)
@@ -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":