-
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
folly: migrate to Conan v2 #21109
folly: migrate to Conan v2 #21109
Conversation
* bumpup to v20221031.00 * conan v2 support * only include needed boost components, not all the boost components, to avoid static link order issue in some cases. * remove cmake version limitation
…hecks pass, but default_cppstd is lower than minimal_cppstd
Co-authored-by: Chris Mc <[email protected]>
… min_cppstd, set min_cppstd if the compiler supports it
…t provide compiler.cppstd
Co-authored-by: Chris Mc <[email protected]>
Which in turn sets FOLLY_BOOST_LINK_STATIC, which ends up setting Boost_USE_STATIC_LIBS
Signed-off-by: Uilian Ries <[email protected]>
Signed-off-by: Uilian Ries <[email protected]>
Signed-off-by: Uilian Ries <[email protected]>
Signed-off-by: Uilian Ries <[email protected]>
Signed-off-by: Uilian Ries <[email protected]>
This reverts commit 37a4502.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Uilian Ries <[email protected]>
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Uilian Ries <[email protected]>
This comment has been minimized.
This comment has been minimized.
I did some important changes in this PR:
|
Excellent work, @uilianries. Thank you so much! I can't approve my own PR, of course, but all of the changes LGTM. |
This reverts commit 2eb919d.
@valgur Let's keep those specific versions for zstd and libuing to avoid conflicts:
|
This comment has been minimized.
This comment has been minimized.
Mac build logs (locally): Multiple profiles, but all them running in Mac M1 and Apple-Clang 15 folly-2024.08.12.00-mac-shared-intel.log |
Co-authored-by: Luis Caro Campos <[email protected]>
Conan v1 pipeline ✔️All green in build 25 (
Conan v2 pipeline ✔️
All green in build 25 (
|
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.
Thanks @uilianries and @valgur for fixing this! 🚀
if not self.dependencies["boost"].options.header_only: | ||
tc.cache_variables["BOOST_LINK_STATIC"] = not self.dependencies["boost"].options.shared | ||
|
||
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0074"] = "NEW" # Honor Boost_ROOT set by boost recipe |
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.
this is duplicated but not worth a recompilation
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.
Agreed! Thank you for spotting!
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.
LGTM
Continues from #15726.