From 4ed2a563ca5d21c4a1f1307cb738fb392b8fd691 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 17 Feb 2017 15:31:20 -0800 Subject: [PATCH] Disallow parallelism in Makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 8ac89a809..bc08c01b6 100644 --- a/Makefile +++ b/Makefile @@ -104,4 +104,9 @@ errcheck: vendor-status: @govendor status +# disallow any parallelism (-j) for Make. This is necessary since some +# commands during the build process create temporary files that collide +# under parallel conditions. +.NOTPARALLEL: + .PHONY: bin core-dev core-test cover default dev errcheck fmt fmtcheck generate plugin-dev quickdev test-compile test testacc testrace tools vendor-status vet