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

Ensure orocos-kdl is available as a target #10

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Jun 21, 2022

#6 ensures that the orocos-kdl target exported by Orocos KDL versions newer than 1.5.1 will include the Eigen3 directories. This PR ensures that the target is present by creating a new "imported" library and populating it based on the old-style _LIBRARIES and _INCLUDE_DIRS variables.

This wasn't caught in the original PR because the orocos_kdl_vendor package includes additional changes after 1.5.1 was tagged which export the target, and ci.ros2.org isn't installing liborocos-kdl-dev. I was able to reproduce the problem using the build.ros2.org CI jobs.

From build.ros2.org:

  • Before Build Status
  • After Build Status

With CI changes:

  • Before Build Status (this passes because it still has the manual Eigen workarounds in downstream packages)
  • After Build Status

Current CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Paris with:

@cottsay cottsay self-assigned this Jun 21, 2022
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

This seems reasonable to me, though I note some of the CI jobs you ran are failing.

Orthogonally, can you please open up a change to https://github.com/ros2/ci to install orocos in our Ubuntu (and RHEL, if available) docker containers? That way CI is more like what the buildfarm does.

@cottsay
Copy link
Member Author

cottsay commented Jun 21, 2022

some of the CI jobs you ran are failing

Looks like an infra issue, I re-ran them and they're past the previous point of failure.

can you please open up a change to https://github.com/ros2/ci to install orocos...

Done: ros2/ci#668

@cottsay cottsay merged commit 06c1aab into main Jun 21, 2022
@cottsay cottsay deleted the cottsay/orocos-eigen-target branch June 21, 2022 20:47
@cottsay
Copy link
Member Author

cottsay commented Jul 19, 2022

@Mergifyio backport humble

mergify bot pushed a commit that referenced this pull request Jul 19, 2022
@mergify
Copy link

mergify bot commented Jul 19, 2022

backport humble

✅ Backports have been created

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.

None yet

2 participants