valeriansaliou / sonic

🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.
https://crates.io/crates/sonic-server
Mozilla Public License 2.0
20.05k stars 577 forks source link

Request: Official binary release #167

Open andrewayoub opened 5 years ago

andrewayoub commented 5 years ago

installing sonic using cargo takes much time, It'd be easier if you have an official binary release

valeriansaliou commented 5 years ago

For now, it's impossible to provide a cross-platform binary, as it's not possible to build a MUSL binary due to RocksDB and other deps.

andrewayoub commented 5 years ago

Thanks for your quick reply, it doesn't have to be cross-platform even providing binaries for specific distributions of linux will be very helpful.

valeriansaliou commented 5 years ago

If you have any automated build systems for major Linux distributions and versions to recommend, and even a PR, I'll go for it (yeah, it even depends on the version, eg a Debian 8 build won't work on Debian 9 due to the dyn library links).

Mstrodl commented 4 years ago

Have you tried gitlab-ci? My config seems to work well enough:

Mstrodl commented 4 years ago

( cc @valeriansaliou )

valeriansaliou commented 4 years ago

Looks like you're releasing for multiple target platforms. For the sake of simplicity when I do releases, I'd like to be able to build a single MUSL binary that targets all Linux platforms at once. This could be easily possible w/ the latest RocksDB release, which supports static linking.

Tracked in #128

Mstrodl commented 4 years ago

@valeriansaliou yeah, but you had said here that (for now) we need per-distro builds

valeriansaliou commented 4 years ago

That will not be needed anymore thanks to #128 ; coming soon.