-
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
[armadillo] Prevent static builds when use_wrapper=True #19909
[armadillo] Prevent static builds when use_wrapper=True #19909
Conversation
🤖 Beep Boop! This pull request is making changes to 'recipes/armadillo//'. 👋 @samuel-emrys you might be interested. 😉 |
I detected other pull requests that are modifying armadillo/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. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@RubenRBS could you review this one too please? |
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.
I guess it makes sense, thanks a lotf or your patience :)
This comment has been minimized.
This comment has been minimized.
3 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
For armadillo to wrap other libraries, these other libraries must be either statically compiled into the armadillo binary or dynamically linked to by libarmadillo. This is not possible when armadillo is a static library itself, without doing some unusual modification of the armadillo archive. This change ensures that armadillo is built as a shared library when use_wrapper=True, which is the only configuration that would enable libarmadillo to be used this way. Closes conan-io#7840
The armadillo run-time library wrapper is designed to provide an opaque integration with upstream libraries, and so these are not required to be passed transitively.
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
ece784a
to
814e0cf
Compare
Conan v1 pipeline ✔️All green in build 8 (
Conan v2 pipeline ✔️
All green in build 4 (
|
For armadillo to wrap other libraries, these other libraries must be either statically compiled into the armadillo binary or dynamically linked to by libarmadillo. This is not possible when armadillo is a static library itself, without doing some unusual modification of the armadillo archive.
This change ensures that armadillo is built as a shared library when use_wrapper=True, which is the only configuration that would enable libarmadillo to be used this way.
For wider context for what this feature should do, see the armadillo FAQ and read my initial discussion of the problem in #7840.
Closes #7840