app/victoria-metrics: add make victoria-metrics-arm64 rule for building GOARCH=arm64 binary

This commit is contained in:
Aliaksandr Valialkin 2019-05-29 23:06:54 +03:00
parent a51ff2c6cb
commit 27f0d098bd
2 changed files with 6 additions and 0 deletions

View file

@ -22,3 +22,6 @@ run-victoria-metrics:
victoria-metrics-arm: victoria-metrics-arm:
CC=arm-linux-gnueabi-gcc CGO_ENABLED=1 GOARCH=arm GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/victoria-metrics-arm ./app/victoria-metrics CC=arm-linux-gnueabi-gcc CGO_ENABLED=1 GOARCH=arm GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/victoria-metrics-arm ./app/victoria-metrics
victoria-metrics-arm64:
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOARCH=arm64 GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/victoria-metrics-arm64 ./app/victoria-metrics

View file

@ -0,0 +1,3 @@
package promql
const maxByteSliceLen = 1 << 40