mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/victoria-metrics: add make victoria-metrics-arm64
rule for building GOARCH=arm64 binary
This commit is contained in:
parent
a51ff2c6cb
commit
27f0d098bd
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
3
app/vmselect/promql/arch_arm64.go
Normal file
3
app/vmselect/promql/arch_arm64.go
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
package promql
|
||||||
|
|
||||||
|
const maxByteSliceLen = 1 << 40
|
Loading…
Reference in a new issue