Skip to content

Upgrade to LevelDB 1.21 or 1.22 #109

@rvagg

Description

@rvagg

This just in on the LevelDB mailing list that I thought might be interesting for folks here.


From: Victor Costan

Hi everyone!

For planning purposes, please know that the upcoming leveldb release (1.21) will introduce significant changes to the build process. As always, the API will remain backwards-compatible.
The build system will be switched to CMake.
Configuration macros will change to reflect CMake conventions. (example: HAVE_SNAPPY instead of SNAPPY)
Building the library will require C++11 support.
A new optional dependency will be added, google/crc32c.
Some of the changes above are still under development, while others have already landed on master. I hope this information will help you plan adopting the next release.


Probably just going to mean some GYP config hackery to adapt to the changes they introduce to make it CMake-idiomatic. The C++11 support is easy because Node core is fully C++11 since at least Node 4 and V8 keeps on pushing hard on that front (a little awkwardly in some cases). The google/crc32c dependency will be interesting, we may want to pull that in because I guess it'll add some nice extra error-checking capabilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions