From 6e9c05f859d656d1180608a4da0a349237a3608c Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Sat, 17 Sep 2022 02:03:16 +1000 Subject: [PATCH] chore: use zstd -6 in dev (#4092) --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4e0c7bda7b..abbc64e8a0 100644 --- a/Makefile +++ b/Makefile @@ -37,9 +37,12 @@ GOARCH := $(shell go env GOARCH) GOOS_BIN_EXT := $(if $(filter windows, $(GOOS)),.exe,) VERSION := $(shell ./scripts/version.sh) -# Use the highest ZSTD compression level for the release binaries. For -# development, a sane lower value would be `make build ZSTDFLAGS=-6`. +# Use the highest ZSTD compression level in CI. +ifdef CI ZSTDFLAGS := -22 --ultra +else +ZSTDFLAGS := -6 +endif # All ${OS}_${ARCH} combos we build for. Windows binaries have the .exe suffix. OS_ARCHES := \