Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging for MacBook m1 #1851

Closed
afoninsky opened this issue Nov 22, 2021 · 2 comments
Closed

Packaging for MacBook m1 #1851

afoninsky opened this issue Nov 22, 2021 · 2 comments
Labels
ARM enhancement New feature or request macos

Comments

@afoninsky
Copy link
Contributor

Trying to launch binary on my new shiny macbook with ARM:

curl -L https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.69.0/victoria-metrics-arm64-v1.69.0.tar.gz --output /tmp/vm.gz
tar zxvf /tmp/vm.gz
❯ ./victoria-metrics-prod
zsh: exec format error: ./victoria-metrics-prod

Is it fine?

@f41gh7
Copy link
Contributor

f41gh7 commented Nov 22, 2021

macOs uses darwin/arm64 format, for now it's not supported.

Work around - build from sources with command: GOARCH=arm64 GOOS=darwin make victoria-metrics-prod from the repository root. Docker required. It should build victoria-metrics-prod executable and put it into bin folder.

@f41gh7 f41gh7 added the enhancement New feature or request label Nov 22, 2021
valyala added a commit that referenced this issue Feb 14, 2022
* adds release build for macos darwin amd64 and arm64

#1896
#1851

* wip

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
@valyala
Copy link
Collaborator

valyala commented Feb 14, 2022

VictoriaMetrics binaries for MacOS are published at releases page starting from v1.73.0:

Closing the feature request as done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM enhancement New feature or request macos
Projects
None yet
Development

No branches or pull requests

4 participants