Open jszwedko opened 3 years ago
Tried via homebrew and the quickstart curl script
aarch64-apple-darwin
not found in https://packages.timber.io/vector/0.18.1
aarch64-apple-darwin
not found in https://packages.timber.io/vector/0.18.1
Correct, we are not publishing binaries for that arch today, this issue exists to track introducing it. You should be able to build locally if you need to though.
I'm also interested in a build of vector for M1. I know there are no github runners for M1 yet but would it be possible to cross-compile for M1 on the mac x86_64 image? I'm curious if the team plans to wait for M1 runners or if a different approach is planned.
Hi @panophobicPanda ! The framework we use for cross-compilation, cross
, does not yet support aarch64-apple-darwin
as a platform (https://github.com/cross-rs/cross/issues/508). We do use self-hosted runners in AWS for the Windows builds. I could see us doing the same for M1 Mac builds when they are generally available.
Just a note for readers that it is possible to compile Vector natively on M1 Macs (make build
).
Just a note for readers that it is possible to compile Vector natively on M1 Macs (
make build
).
This is what I've settled on for now and it works great, albeit not as slick.
Just noticed that https://github.com/cross-rs/cross/issues/508 was closed a couple weeks ago. Would be great to see native ARM builds for MacOS
👍 AWS also has new support for M1 runners that we may be able to leverage too.
Since a few things have changed, it seems like there are now a few different options here?
cross-rs
I wanted to get an idea of timing... are we planning on waiting for #3 ?
Since a few things have changed, it seems like there are now a few different options here?
- Build with
cross-rs
- Build on an M1 hosted in AWS (github runner now supports M1)
- Build on a hosted github runner (doesn't exist yet)
I wanted to get an idea of timing... are we planning on waiting for #3 ?
We are currently waiting for #3 there, but if there is a way to get it working via cross I'd be interested to see that. We'd like to avoid needing to manage an M1 instance in AWS but if we get more demand for this, that would be another option.
GitHub now offers macOS runners (since some time): https://github.blog/news-insights/product-news/introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/
Is there anything particular blocking adding Apple Silicon releases?
GitHub now offers macOS runners (since some time): https://github.blog/news-insights/product-news/introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/
Is there anything particular blocking adding Apple Silicon releases?
Indeed! Nothing blocking at the moment, I don't think, just time.
A user tried to install Vector via Homebrew on an M1 Mac but discovered we don't publish binaries for this architecture.