-
Notifications
You must be signed in to change notification settings - Fork 121
Enable Snappy compression support in LevelDb in cmake builds #885
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
19b11f4
firestore.cmake: patch leveldb to enable snappy support
dconeybe 5eb52fc
external_rules.cmake: do not overwrite leveldb.cmake from firestore
dconeybe 7898b46
release_build_files/readme.md: release notes entry added
dconeybe 7a057de
leveldb_snappy_test.cc added
dconeybe c4b8ed5
leveldb_snappy_test.cc: add newline at end of file
dconeybe f9a0ef7
Merge remote-tracking branch 'origin/main' into snappy
dconeybe 7dfbda9
Add snappy to embedded libraries in packaging step, and snappy namesp…
jonsimantov f6ed5df
Merge branch 'dconeybe/snappy' of https://github.com/firebase/firebas…
jonsimantov 0f694b3
Add leveldb_snappy_test.cc into project.pbxproj
dconeybe 8bb6bf5
Fix release notes entry to mention RTDB as well as Firestore
dconeybe be2a2c7
Avoid even compiling leveldb_snappy_test.cc on Android
dconeybe 07023a9
leveldb_snappy_test.cc: add SKIP_TEST_ON_IOS
dconeybe ec98825
leveldb_snappy_test.cc: add missing #include "firebase_test_framework.h"
dconeybe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this enabled in RTDB now as well? (I noticed the linker error happened in the database integration test too, so it may be using it in both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also a nit: Desktop and LevelDB need more capital letters (I think probably also fix LevelDB above)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. In cmake, if Firestore is included in the build then both RTDB and Firestore share the LevelDb library from Firestore. However, if Firestore is excluded from the build then RTDB will use a LevelDb without Snappy support. We should probably do something about this. We had a meeting yesterday where it sounded like a good idea might be to unconditionally download the firebase_ios_sdk and use LevelDb from it regardless of whether or not Firestore is being used. Would you like to hold off merging this until we figure that out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wait, I see you were pointing out that the release notes entry needed a correction. I've updated it in 8bb6bf5.