Skip to content

Comments

embed snappy and sparkey into Ruby extension#7

Open
wjordan wants to merge 1 commit intoemnl:masterfrom
wjordan:embed
Open

embed snappy and sparkey into Ruby extension#7
wjordan wants to merge 1 commit intoemnl:masterfrom
wjordan:embed

Conversation

@wjordan
Copy link

@wjordan wjordan commented Jul 27, 2018

This PR embeds snappy and sparkey directly into the compiled Ruby extension, with the help of Git submodules incorporating the respective project sources (google/snappy and spotify/sparkey). This simplifies the installation process by eliminating installation prerequisites, just install the gem and everything should just work.

This increases the size of the compiled extension from (on my machine) 92,488 bytes to 344,688 bytes, which seems like an acceptable tradeoff for the installation convenience.

@wjordan wjordan force-pushed the embed branch 6 times, most recently from a00a7a9 to ef63a92 Compare July 27, 2018 18:21
Use submodules to include dependency source code.
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.

1 participant