Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed snappy and sparkey into Ruby extension #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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