Skip to content

Remove use of ament_target_dependencies - #566

Merged
ahcorde merged 1 commit into
rollingfrom
sloretz__system_tests_remove_ament_target_dependencies
Mar 19, 2025
Merged

ahcorde merged 1 commit into
rollingfrom
sloretz__system_tests_remove_ament_target_dependencies

Conversation

@sloretz

@sloretz sloretz commented Mar 14, 2025 •

Copy link
Copy Markdown
Contributor

This is the last user of ament_target_dependencies in ros2.repos outside of ament_cmake_auto. This PR requires all rmw_implementations that test_communication export modern CMake targets, and put those targets into a project_name_TARGETS variable. This is done automatically for packages that use ament_export_targets.

edit: ready for review! Draft until ros2/rmw_fastrtps#814 is merged, as that's the last RMW implementation that only exports old-style standard CMake variables.

ament/ament_cmake#292

@sloretz
sloretz marked this pull request as ready for review March 14, 2025 21:32
@ahcorde

ahcorde commented Mar 17, 2025

Copy link
Copy Markdown
Contributor

Pulls: #566
Gist: https://gist.githubusercontent.com/ahcorde/ceedd03a83919528866eadfc9131429d/raw/a021d3d6d7b783dfeb74446c275c4dd764bf14af/ros2.repos
BUILD args: --packages-up-to test_communication --packages-above-and-dependencies test_communication
TEST args: --packages-select test_communication --packages-above test_communication
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15402

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

@ahcorde

ahcorde commented Mar 17, 2025

Copy link
Copy Markdown
Contributor

Pulls: #566
Gist: https://gist.githubusercontent.com/ahcorde/f102375b3020759de243ef07aaefbdcf/raw/a021d3d6d7b783dfeb74446c275c4dd764bf14af/ros2.repos
BUILD args: --packages-up-to test_communication --packages-above-and-dependencies test_communication
TEST args: --packages-select test_communication --packages-above test_communication
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15405

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

@sloretz

sloretz commented Mar 17, 2025

Copy link
Copy Markdown
Contributor Author

Windows CI failure is probably caused by this PR. I will investigate.

test_message_serialization.obj : error LNK2019: unresolved external symbol __imp_rmw_serialize referenced in function "private: virtual void __cdecl TestMessageSerialization_de_serialize_c_Test::TestBody(void)" (?TestBody@TestMessageSerialization_de_serialize_c_Test@@EEAAXXZ) [C:\ci\ws\build\test_communication\test_serialize__rmw_connextdds.vcxproj]

test_message_serialization.obj : error LNK2019: unresolved external symbol __imp_rmw_deserialize referenced in function "private: virtual void __cdecl TestMessageSerialization_de_serialize_c_Test::TestBody(void)" (?TestBody@TestMessageSerialization_de_serialize_c_Test@@EEAAXXZ) [C:\ci\ws\build\test_communication\test_serialize__rmw_connextdds.vcxproj]

C:\ci\ws\build\test_communication\Release\test_serialize__rmw_connextdds.exe : fatal error LNK1120: 2 unresolved externals [C:\ci\ws\build\test_communication\test_serialize__rmw_connextdds.vcxproj]

@sloretz

sloretz commented Mar 18, 2025

Copy link
Copy Markdown
Contributor Author

Windows rebuild testing if ros2/rmw_connextdds#179 fixes Windows CI: Build Status

@sloretz

sloretz commented Mar 19, 2025

Copy link
Copy Markdown
Contributor Author

Pulls: #566
Gist: https://gist.githubusercontent.com/sloretz/e3381e36efa68aa3a17de89b2458f3bd/raw/a021d3d6d7b783dfeb74446c275c4dd764bf14af/ros2.repos
BUILD args: --packages-above-and-dependencies test_communication
TEST args: --packages-above test_communication
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15419

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

@ahcorde
ahcorde merged commit 092bfca into rolling Mar 19, 2025
@ahcorde
ahcorde deleted the sloretz__system_tests_remove_ament_target_dependencies branch March 19, 2025 21:04
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