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

folly: migrate to Conan v2 #21109

Merged
merged 113 commits into from
Aug 22, 2024

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Nov 14, 2023

Continues from #15726.

kexianda and others added 30 commits November 14, 2023 09:33
* 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 <prince.chrismc@gmail.com>
… min_cppstd, set min_cppstd if the compiler supports it
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Which in turn sets FOLLY_BOOST_LINK_STATIC, which ends up setting Boost_USE_STATIC_LIBS
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

I did some important changes in this PR:

@valgur
Copy link
Contributor Author

valgur commented Aug 21, 2024

Excellent work, @uilianries. Thank you so much! I can't approve my own PR, of course, but all of the changes LGTM.

@uilianries
Copy link
Member

uilianries commented Aug 21, 2024

@valgur Let's keep those specific versions for zstd and libuing to avoid conflicts:

ERROR: Version conflict: Conflict between zstd/1.5.5 and zstd/1.5.6 in the graph:
Conflict originates from libdwarf/0.9.1

@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

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
folly-2024.08.12.00-mac-shared.log
folly-2024.08.12.00-mac-static-intel.log
folly-2024.08.12.00-mac-static.log

Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 25 (8a4735159046a41a1e0fb6319219878a7e92041c):

  • folly/2024.08.12.00:
    All packages built successfully! (All logs)

Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 25 (8a4735159046a41a1e0fb6319219878a7e92041c):

  • folly/2024.08.12.00:
    All packages built successfully! (All logs)

Copy link
Contributor

@Hopobcn Hopobcn left a 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
Copy link
Member

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

Copy link
Member

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!

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@conan-center-bot conan-center-bot merged commit 8eff1ad into conan-io:master Aug 22, 2024
12 checks passed
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.

[request] <folly>/<v2024.05.02.00>
7 participants