Skip to content

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented May 25, 2022

Much time has passed since the last time we shipped precompiled native gems for sqlite3, and we need to do some work to get them to build now.

This branch is a work-in-progress which will close #301 and close #313

@flavorjones flavorjones force-pushed the flavorjones-resurrect-native-gems branch from 9d93971 to 8498cdb Compare May 25, 2022 21:40
@flavorjones flavorjones force-pushed the flavorjones-resurrect-native-gems branch 5 times, most recently from d07ec8a to 65d9e94 Compare May 26, 2022 14:50
@flavorjones flavorjones force-pushed the flavorjones-resurrect-native-gems branch 3 times, most recently from d3c02c1 to 05c9f8c Compare May 26, 2022 15:32
@flavorjones flavorjones changed the title resurrect native gems native gems, better system library support, more platform support May 26, 2022
patterned from:

  https://github.com/flavorjones/ruby-c-extensions-explained

with the ultimate goal being to ship precompiled native gems for some
set of supported platforms, and support users compiling from source
for all the other platforms.

note that mini_portile is now an install-time dependency (which we'll
remove for precompiled gems)
to expose the value returned by sqlite3_libversion. This is a
convenience to allow comparison or the compile-time version of sqlite3
(SQLite3::SQLITE_VERSION) to the version being dynamically loaded at
runtime.
use an allowlist of environment variables for configuration
@flavorjones flavorjones force-pushed the flavorjones-resurrect-native-gems branch 2 times, most recently from 154e3d0 to efa5e3e Compare July 4, 2022 17:22
@flavorjones
Copy link
Member Author

At this point, this branch is functionally ready to merge. I'll take a bit of time later today to document installation in the README but otherwise, unless there are objections, I plan to merge in the next day or so.

@flavorjones flavorjones marked this pull request as ready for review July 4, 2022 18:08
@flavorjones flavorjones force-pushed the flavorjones-resurrect-native-gems branch from efa5e3e to 2b47cc2 Compare July 4, 2022 18:10
@flavorjones flavorjones force-pushed the flavorjones-resurrect-native-gems branch from 58205b7 to 95e16d3 Compare July 4, 2022 19:50
@flavorjones flavorjones merged commit 739e899 into master Jul 4, 2022
@flavorjones flavorjones deleted the flavorjones-resurrect-native-gems branch July 4, 2022 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sqlite3-ruby won't build on M1 mac Thoughts on pre-packaged binaries (aka: Native Gems) for all platforms?

3 participants