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

[rcl_action] changed build_depend and build_depend_export dependencies to depend #577

Merged
merged 1 commit into from
Feb 28, 2020

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Feb 18, 2020

changed the following <build_depend> and <build_depend_export> to <depend>

  • action_msgs
  • rcl
  • rcutils
  • rmw
  • rosidl_generator_c

@ahcorde ahcorde added the enhancement New feature or request label Feb 18, 2020
@ahcorde ahcorde requested a review from wjwwood February 18, 2020 10:31
@ahcorde ahcorde self-assigned this Feb 18, 2020
@ahcorde
Copy link
Contributor Author

ahcorde commented Feb 18, 2020

But I'm not sure if this package should be <build_depend> and <exec_depend>

@ahcorde ahcorde force-pushed the ahcorde/package/rcl_action_depend branch from 730f7ac to 4cd2df0 Compare February 18, 2020 10:38
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 CI

@wjwwood wjwwood requested a review from jacobperron February 20, 2020 00:33
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

I don't think there are execution dependencies on any of these packages, though I don't think there's an issue declaring them as such. Was there something in particular that motivated this change?

@wjwwood
Copy link
Member

wjwwood commented Feb 20, 2020

I don't think there are execution dependencies on any of these packages

Well, my thinking was that if you want to run your package's executable, and your package depends on this package, it should exec depend on it so librcl_action.so/dylib/dll is available at runtime. For the same reason, if librcl_action.* is going to be used, then this package should exec depend on other packages which provide libraries needed at runtime, e.g. librcl.* or librmw.* or shared libraries created by message packages like action_msgs.

Was there something in particular that motivated this change?

I flagged it when I was manually traversing dependencies of rclcpp, rclcpp_actions, and rclcpp_components in prep for the AWS QA work.

@ahcorde
Copy link
Contributor Author

ahcorde commented Feb 23, 2020

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

@jacobperron
Copy link
Member

if you want to run your package's executable, and your package depends on this package, it should exec depend on it so librcl_action.so/dylib/dll is available at runtime

I hadn't thought about it this way before, but it makes sense to me 👍

@ahcorde
Copy link
Contributor Author

ahcorde commented Feb 26, 2020

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

@ahcorde
Copy link
Contributor Author

ahcorde commented Feb 28, 2020

Unrelated errors. Merging

@ahcorde ahcorde merged commit 4dbf20d into master Feb 28, 2020
@delete-merged-branch delete-merged-branch bot deleted the ahcorde/package/rcl_action_depend branch February 28, 2020 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants