quickwit
quickwit copied to clipboard
Support for ARM architecture (Mac M1)
I see that there is no binary available for ARM / Mac M1. If nobody is on this project, I can participate on my time (because I need it, the indexing time is way too high on M1 as I have to mimic the x64 architecture).
Can I build it and fix any bugs if needed? And also try to find solutions to build an ARM compatible Docker.
Yes sure, That will be awesome. We used to have ARM builds in our release, but currently we depend on RocksDB and it makes it hard to build and link for ARM. As a pointer, you could try building from cross images. They recently updated the tools in those base images.
In the near future we are planning to dicth RockDB, so ARM builds should be back again. See https://github.com/quickwit-oss/quickwit/issues/1816
@demangejeremy I'm on M1, and you can build it with cargo. If you need to build it with all features (kafka, azure, postgresql...), you can launch
cargo build --features release-feature-vendored-set
Also, we will likely ditch RocksDB in the near future.
Still waiting for a binary for ARM / Mac M1, any updates on this?
Came here to support this issue too. M1s are the de-facto choice for most developers nowadays. Which makes the getting-started of quickwit a bad experience from the get-go unfortunately. I do not know the effort to have a pre-built version of quickwit for arm but hope you can achieve this at some point 👍 (I'll still continue exploring)
Agreed.
GitHub does not offer a macOS m1 runner, and it won't come before one year .
Meanwhile, we can:
- Cross-compile Quickwit on a runner with arch
x86_64and use--target aarch64-apple-darwin - Compile on a self-hosted m1 runner.
The issue with 1 is that cross-compilation is currently failing. See the logs here. This is related to this issue. The issue with 2 is that we need to deploy a runner :)
Let's reopen it as the binaries are not yet available, but at least, we are able to generate them!
M1 binary released: https://quickwit.io/docs/get-started/installation!