-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
rocksdb: ignoring thirdparty.inc. Modernized. #26009
base: master
Are you sure you want to change the base?
Conversation
Thank you for working on this! I see you changed |
@thejohnfreeman Conan Center is no longer accepting packages/recipe updates/anything for Conan 1.x, so even if the 1.x stuff is left in the recipe and the version required is left alone, it won't propagate to the 1.x CC |
@thejohnfreeman @franramirez688 if I'm reading rocksdb's (latest) CMakeLists right, setting ROCKSDB_SKIP_THIRDPARTY makes it so some of the third party libs (jemalloc, gflags, snappy, zlib, bz2, lz4 and zstd specifically) are not handled or included/linked on MSVC, only on the else() branch of the if(MSVC) check. The MSVC branch only handles those libs through thirdparty.inc. So I think the patch (or, I suppose, a slightly different patch) is actually necessary for versions that have ROCKSDB_SKIP_THIRDPARTY as well, if we want those to work with MSVC from conan. |
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.
Patch still needed even with ROCKSDB_SKIP_THIRDPARTY
That's correct. If |
@thejohnfreeman @RazielXYZ Thanks a lot for your comments! I did not realize about that, my bad 🙏 |
ORIGINAL PR: #23090 ( I just added a commit to modernize the recipe but can not push directly to the original branch. Keeping the original author's commits anyway)
Summary
Changes to recipe: rocksdb/x.x.x
thirdparty.inc
file. rocksdb/6.29.5 needs a patch but the newer ones have a global CMake optionROCKSDB_SKIP_THIRDPARTY
to handle that.