Skip to content

Make ament_cmake a buildtool dependency#2689

Merged
clalancette merged 2 commits into
ros2:rollingfrom
nwn:nwn/rclcpp-action-fix-depends
Dec 2, 2024
Merged

Make ament_cmake a buildtool dependency#2689
clalancette merged 2 commits into
ros2:rollingfrom
nwn:nwn/rclcpp-action-fix-depends

Conversation

@nwn
Copy link
Copy Markdown
Contributor

@nwn nwn commented Nov 29, 2024

The rclcpp_action package currently lists ament_cmake as a generic <depend> dependency, which implies that it's needed at both build-time and run-time. However, ament_cmake isn't used at runtime and so should only be listed as a buildtool dependency, as is done in most other packages.

The `ament_cmake` package isn't needed at runtime and so should only be
listed as a `buildtool_dependency`, as is done in most other packages.

Signed-off-by: Nathan Wiebe Neufeldt <nwiebeneufeldt@clearpath.ai>
Comment thread rclcpp_action/package.xml Outdated
Since there's already a buildtool dependency on ament_cmake_ros, having
ament_cmake as well is redundant.

Signed-off-by: Nathan Wiebe Neufeldt <nwiebeneufeldt@clearpath.ai>
@clalancette
Copy link
Copy Markdown
Contributor

Pulls: #2689
Gist: https://gist.githubusercontent.com/clalancette/f5185b026d33d01c407a865f8959b144/raw/886bab12bafaa4a0c567407e3b1a308101af9817/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp_action
TEST args: --packages-above rclcpp_action
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14879

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

@clalancette clalancette merged commit 785a70d into ros2:rolling Dec 2, 2024
HarunTeper pushed a commit to HarunTeper/rclcpp that referenced this pull request Dec 9, 2024
* Make ament_cmake a buildtool dependency

The `ament_cmake` package isn't needed at runtime and so should only be
listed as a `buildtool_dependency`, as is done in most other packages.

* Remove the ament_cmake dependency entirely

Since there's already a buildtool dependency on ament_cmake_ros, having
ament_cmake as well is redundant.

Signed-off-by: Nathan Wiebe Neufeldt <nwiebeneufeldt@clearpath.ai>
Signed-off-by: HarunTeper <harun.teper@tu-dortmund.de>
HarunTeper pushed a commit to HarunTeper/rclcpp that referenced this pull request Dec 9, 2024
* Make ament_cmake a buildtool dependency

The `ament_cmake` package isn't needed at runtime and so should only be
listed as a `buildtool_dependency`, as is done in most other packages.

* Remove the ament_cmake dependency entirely

Since there's already a buildtool dependency on ament_cmake_ros, having
ament_cmake as well is redundant.

Signed-off-by: Nathan Wiebe Neufeldt <nwiebeneufeldt@clearpath.ai>
Signed-off-by: HarunTeper <harun.teper@tu-dortmund.de>
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.

3 participants