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

[rotor/0.25] add rotor, v0.25 relax boost requirements #15081

Merged
merged 8 commits into from
Jan 27, 2023

Conversation

basiliscos
Copy link
Contributor

rotor/0.25


@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2023

Hooks produced the following warnings for commit 5eb7702
rotor/0.23
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.25
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.24
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2023

Hooks produced the following warnings for commit fdbe83b
rotor/0.24
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.23
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.25
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

Hooks produced the following warnings for commit 61b0ccd
rotor/0.24
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.23
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.25
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.


def generate(self):
tc = CMakeToolchain(self)
tc.cache_variables["BUILD_BOOST_ASIO"] = self.options.enable_asio
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest using variable if it's possible instead of the cache one

self.output.warn(
"%s requires a compiler that supports at least C++%s" % (self.name, minimal_cpp_standard))
f"{self.name} requires a compiler that supports at least C++{minimal_cpp_standard}")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
f"{self.name} requires a compiler that supports at least C++{minimal_cpp_standard}")
f"{self.ref} requires a compiler that supports at least C++{minimal_cpp_standard}")

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 754a5a7
rotor/0.23
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.25
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.24
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.

@basiliscos basiliscos requested review from prince-chrismc and removed request for danimtb January 17, 2023 07:08
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 8 (6ff1256d50437dbb1136fe8468cd709086b9d48a):

  • rotor/0.21@:
    All packages built successfully! (All logs)

  • rotor/0.23@:
    All packages built successfully! (All logs)

  • rotor/0.24@:
    All packages built successfully! (All logs)

  • rotor/0.25@:
    All packages built successfully! (All logs)

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit 6ff1256
rotor/0.23
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.24
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.
rotor/0.25
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.

@AbrilRBS
Copy link
Member

AbrilRBS commented Jan 27, 2023

Let us know once the hook errors are resolved, and otherwise this looks good, thanks for taking the time to get this working :) (Sorry about the delay, we're working hard in the 2.0 launch and the holidays gave us a bit of a backlog to review)

@basiliscos
Copy link
Contributor Author

@RubenRBS . Hi, thanks for feedback. There are no error-hooks, but only warning-hooks; I think you refer them.

post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/librotor.so' links to system library 'm' but it is not in cpp_info.system_libs.

However, rotor does not links with m library directly, most likely it is linked indirectly via boost dependency. I'm not sure, that I should explicitly list it in system_libs, cz it is part of external lib. Do you agree?

PS. There is no math (sin/cos/etc.) used in the library nor in it's direcly used dependencies.

@uilianries
Copy link
Member

@basiliscos @RubenRBS That hook runs objdump executable, which lists all system library related. In that case, Boost already lists libm as system library, so, you don't need to update this recipe. I see no #include <cmath> in Rotor project, so it's a false positive warning.

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

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Thanks for clearing my doubt up @uilianries and sorry @basiliscos for the scare :)

@conan-center-bot conan-center-bot merged commit 83add2e into conan-io:master Jan 27, 2023
@basiliscos basiliscos deleted the v0.25-rotor branch January 27, 2023 14:39
StellaSmith pushed a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
* add rotor, v0.25 relax boost requirements

* modernize for usage with conan v2

* copy license?

* handle fpic

* Add CMakeDeps

* minor cleanup

* apply feedback

* apply feedback
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.

5 participants