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

Removed poco dependency #139

Merged
merged 26 commits into from
Apr 8, 2020
Merged

Conversation

ahcorde
Copy link

@ahcorde ahcorde commented Mar 9, 2020

As introduced in this PR ros2/ros2#867 we use the poco library for loading shared libraries dynamically at runtime. It will be nice to remove this dependency which is relatively large.

This PR removed Poco dependency in Linux, Mac and Windows.

@wjwwood what do you think?

Signed-off-by: Alejandro Hernández ahcorde@gmail.com

Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

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

This looks pretty straightforward, and the OS specifics look ok to me.

Most of my comments boil down to, we should factor out the specifics into functions to abstract OS details, and then that leads me to conclude that maybe we should just put this logic in rcutils and have class_loader use it from there. Because we will need the same logic for rmw_implementation and the equivalent rosidl shared library loading logic.

include/class_loader/class_loader_core.hpp Outdated Show resolved Hide resolved
src/class_loader.cpp Outdated Show resolved Hide resolved
src/class_loader_core.cpp Outdated Show resolved Hide resolved
src/class_loader_core.cpp Outdated Show resolved Hide resolved
Signed-off-by: Alejandro Hernández <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahoarau
Copy link

ahoarau commented Mar 24, 2020

Can we have this for ros melodic ?

@wjwwood
Copy link
Member

wjwwood commented Mar 24, 2020

Can we have this for ros melodic ?

@ahoarau That seems unlikely. It could be considered for Noetic, but it would break ABI and maybe API in melodic, which would be a deal breaker.

@ahoarau
Copy link

ahoarau commented Mar 25, 2020

I'm guessing using a fork in my own workspace would require to build ros from source ?

@wjwwood
Copy link
Member

wjwwood commented Mar 25, 2020

Yes.

@ahcorde
Copy link
Author

ahcorde commented Apr 2, 2020

rcpputils PR is merged, can you review this ? @wjwwood

@ahcorde ahcorde requested a review from wjwwood April 2, 2020 07:26
Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

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

Lgtm with some comments. Also looks like Travis ci is still broken which given this pr touches those files should probably be fixed before merging.

CMakeLists.txt Outdated Show resolved Hide resolved
include/class_loader/meta_object.hpp Outdated Show resolved Hide resolved
package.xml Outdated Show resolved Hide resolved
src/class_loader.cpp Outdated Show resolved Hide resolved
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde
Copy link
Author

ahcorde commented Apr 3, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde force-pushed the ahcorde/feature/removed_poco branch from fc215ec to 6ebd81b Compare April 3, 2020 16:47
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde
Copy link
Author

ahcorde commented Apr 8, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

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.

4 participants