libsql icon indicating copy to clipboard operation
libsql copied to clipboard

Simplify sqlite3mc build

Open penberg opened this issue 1 year ago • 1 comments

We currently build sqlite3mc by invoking its cmake-based build, which makes the build more complicated, especially when cross-compiling. Let's look into switching to using the cc crate from libsql-ffi/build.rs instead to simplify the build.

penberg avatar Feb 14 '24 08:02 penberg

I'm looking into this. I think the best approach is to ditch the whole amalgamation thing and merge both sqlite3 and sqlite3mc in the same repo, then toggle the later with a flag as needed (I think there already is one, not sure). I'm currently exploring the use of Zig's build system, but adding this as a dependency might be undesirable.

#1039 is somewhat related

levydsa avatar Jun 24 '24 05:06 levydsa