-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmark_ignore_deps.sh
executable file
·49 lines (38 loc) · 1.61 KB
/
mark_ignore_deps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
if [[ -z $DDS_IMPL ]]; then
echo "DDS implementation not set. Please specify an implementation"
exit -1
fi
pushd $(pwd)/src > /dev/null
touch ./ros2/rcl/rcl_lifecycle/COLCON_IGNORE
touch ./ros2/rcl_logging/rcl_logging_log4cxx/COLCON_IGNORE
touch ./ros2/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE
touch ./ros2/spdlog_vendor/COLCON_IGNORE
touch ./ros2/rclcpp/rclcpp_lifecycle/COLCON_IGNORE
touch ./ros2/rclcpp/rclcpp_components/COLCON_IGNORE
touch ./ros2_tracing/ros2_tracing/tracetools_test/COLCON_IGNORE
# ignore our local packages
touch ./worbots/LimelightROS2/limelight_driver/COLCON_IGNORE
touch ./worbots/RosPathGen/rospathgen/COLCON_IGNORE
touch ./worbots/AutonomousBehaviorTree/autonomous_behavior_tree/COLCON_IGNORE
touch ./worbots/robotTool/robot_tools/COLCON_IGNORE
if [[ "$DDS_IMPL" == *FastRTPS* ]]; then
# ignore cyclone and its deps
touch ./eclipse-cyclonedds/COLCON_IGNORE
touch ./eclipse-iceoryx/COLCON_IGNORE
touch ./ros2/rmw_cyclonedds/COLCON_IGNORE
#remove fastrtps ignores
rm ./eprosima/COLCON_IGNORE
rm ./ros2/rmw_fastrtps/COLCON_IGNORE
rm ./ros2/rosidl_typesupport_fastrtps/COLCON_IGNORE
else
# ignore rtps and its deps
touch ./eprosima/COLCON_IGNORE
touch ./ros2/rmw_fastrtps/COLCON_IGNORE
touch ./ros2/rosidl_typesupport_fastrtps/COLCON_IGNORE
#remove cyclonedds ignores
rm ./eclipse-cyclonedds/COLCON_IGNORE
rm ./eclipse-iceoryx/COLCON_IGNORE
rm ./ros2/rmw_cyclonedds/COLCON_IGNORE
fi
popd > /dev/null