diff --git a/Makefile b/Makefile index 58469993c..3932dded3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PKG_PREFIX := github.com/VictoriaMetrics/VictoriaMetrics -MAKE_CONCURRENCY ?= $(shell cat /proc/cpuinfo | grep -c processor) +MAKE_CONCURRENCY ?= $(getconf _NPROCESSORS_ONLN) MAKE_PARALLEL := $(MAKE) -j $(MAKE_CONCURRENCY) DATEINFO_TAG ?= $(shell date -u +'%Y%m%d-%H%M%S') BUILDINFO_TAG ?= $(shell echo $$(git describe --long --all | tr '/' '-')$$( \