Closed axelson closed 7 months ago
To not use the precompiled binaries, throw this into your config
config :exqlite, make_force_build: true
https://github.com/elixir-sqlite/exqlite#compile-time-configuration
@axelson I'll look into what it is going to take to compile for a musl
based distribution.
@cocoa-xu have you had anyone ask for musl precompiled binary support before?
@warmwaffles Yeah, it's customizable in cc_precompiler
, and I just updated it to v0.1.7 with a :include_default_ones
key, which makes it much easier to just add some more targets or override some default ones.
I'll send a PR!
@axelson we have precompiled binaries for musl
now under v0.3.17
That's great, thanks!
What do you think about the idea of considering it only a warnings instead of an error when there are no precompiled binaries available for the current system?
cc @cocoa-xu
I do believe it should warn and just fallback to building it from source. Or even not say anything at all and just build from source.
I do believe it should warn and just fallback to building it from source. Or even not say anything at all and just build from source.
Yeah, I agree. Just submitted a PR to elixir_make
.
I believe this can be closed now. :)
It certainly can be.
I recently update exqlite and now when I run
mix compile
I see the following error printed in red text:If I'm understanding correctly this is more or less expected since exqlite won't be compiled for every system/platform (although I'm slightly surprised because I'm currently on Linux mint which I wouldn't expect to be too exotic).
My suggestion is to "downgrade" this from an error to a warning and change the default text color from red to yellow.
Something like: