From 6aea70d9846b226974c9230f21a98baeababe5ae Mon Sep 17 00:00:00 2001 From: flouthoc Date: Thu, 30 Jan 2025 09:09:41 -0800 Subject: [PATCH] temp: set RACEFLAG to empty Signed-off-by: flouthoc --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c36c13b022..fd067da5c5 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,8 @@ GO_GCFLAGS := $(shell if $(GO) version|grep -q gccgo; then echo "-gccgoflags"; e NPROCS := $(shell nproc) export GO_BUILD=$(GO) build export GO_TEST=$(GO) test -parallel=$(NPROCS) -RACEFLAGS := $(shell $(GO_TEST) -race ./pkg/dummy > /dev/null 2>&1 && echo -race) +#RACEFLAGS := $(shell $(GO_TEST) -race ./pkg/dummy > /dev/null 2>&1 && echo -race) +RACEFLAGS := COMMIT_NO ?= $(shell git rev-parse HEAD 2> /dev/null || true) GIT_COMMIT ?= $(if $(shell git status --porcelain --untracked-files=no),${COMMIT_NO}-dirty,${COMMIT_NO})