chore: use zstd -6 in dev (#4092)

This commit is contained in:
Dean Sheather 2022-09-17 02:03:16 +10:00 committed by GitHub
parent 21664c5c58
commit 6e9c05f859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -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 := \