-
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
onetbb: remove shared option + fix tbbmaloc & tbbproxy logic #20897
onetbb: remove shared option + fix tbbmaloc & tbbproxy logic #20897
Conversation
SpaceIm
commented
Nov 2, 2023
•
edited
Loading
edited
- regarding removal of shared option: see [question] Problem understanding a dependency in conancenter conan#15040 (comment)
- for tbbmaloc & tbbproxy, well current logic was super weird. It comes from onetbb: made tbbmalloc and tbbproxy enabled by default #17311, but it doesn't really make sense. These options didn't exist before 2021.5.0 or 2021.6.0, so they have to be removed in config_option, that's all.
- I've read the contributing guidelines.
- I've used a recent Conan client version close to the currently deployed.
- I've tried at least one configuration locally with the conan-center hook activated.
since shared option is True by default, it causes lot of missing packages in c3i. Moreover shared=False is strongly discouraged anyway and totally forbidden in recent versions
I detected other pull requests that are modifying onetbb/all recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
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! I really hope this fixes the issue.
Hum, another option I don't like in this recipe: |
@danimtb @uilianries @RubenRBS I'm not even sure it will fix all issues related to missing onetbb packages in v2 pipeline. Since onetbb has dependencies, if I remove shared option of onetbb, it will build onetbb flavor with static dependencies only (I mean, does v2 pipeline still tries to build both |
This comment has been minimized.
This comment has been minimized.
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.
Removing the shared option sounds good to me.
I'll block to discuss first with Conan team, in case of side-effects.
We still could list all affected packages and run an internal CI build to regenerate after merging it, but still need to check what could happen with CI composition, like */*:shared=True/False
and even mixed (Conan 1.x) for future PRs.
After discussing with Conan team about this situation, indeed the I opened the PR #20976. That PR should be merged first, then we can update this one and merge it too. Thank you @SpaceIm for not only opening the PR, but also sharing your investigation. |
@uilianries Can this be merged now or is there something left to do? |
I've triggered a new build, now that #20976 has been merged. |
Conan v1 pipeline ✔️All green in build 3 (
Conan v2 pipeline ✔️
All green in build 3 (
|