mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
Make a makefile work on a MacOS and Linux (#5685)
This commit is contained in:
parent
c3a585cfe5
commit
d5682858c0
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
PKG_PREFIX := github.com/VictoriaMetrics/VictoriaMetrics
|
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)
|
MAKE_PARALLEL := $(MAKE) -j $(MAKE_CONCURRENCY)
|
||||||
DATEINFO_TAG ?= $(shell date -u +'%Y%m%d-%H%M%S')
|
DATEINFO_TAG ?= $(shell date -u +'%Y%m%d-%H%M%S')
|
||||||
BUILDINFO_TAG ?= $(shell echo $$(git describe --long --all | tr '/' '-')$$( \
|
BUILDINFO_TAG ?= $(shell echo $$(git describe --long --all | tr '/' '-')$$( \
|
||||||
|
|
Loading…
Reference in a new issue