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

Switch to ament_cmake_vendor_package #24

Merged
merged 1 commit into from Jun 14, 2023
Merged

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented May 26, 2023

Part of ament/ament_cmake#429

  • Linux Build Status
  • Linux Build Status (FORCE_BUILD_VENDOR_PKG)
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay added the enhancement New feature or request label May 26, 2023
@cottsay cottsay self-assigned this May 26, 2023
VCS_URL https://github.com/pybind/pybind11.git
VCS_VERSION v2.9.1
PATCHES patches
GLOBAL_HOOK
Copy link
Member

Choose a reason for hiding this comment

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

Out of curiosity, why do we enable GLOBAL_HOOK for this project and not others like libyaml or spdlog?

Copy link
Member Author

@cottsay cottsay Jun 13, 2023

Choose a reason for hiding this comment

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

I added GLOBAL_HOOK where I found that there were downstream packages which were find_package-ing the vendored package without find_package-ing the vendor package first, meaning that there was a dependency on the vendored payload being globally findable outside the context of the vendor pattern.

It appears that this is one of those packages, but libyaml and spdlog are not. There is an argument that those others should use GLOBAL_HOOK even if no packages currently in ros2.repos require it, but I'd rather add it later if we find that it's necessary than continue the globally-available pattern any longer.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for clarifying that!

@cottsay cottsay merged commit 47ed146 into rolling Jun 14, 2023
2 checks passed
@cottsay cottsay deleted the cottsay/ament_vendor branch June 14, 2023 19:03
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.

None yet

2 participants