Skip to content

Commit ebf0fe0

Browse files
committed
add outputs for rosbag2_storage_mcap and go2_interfaces to avoid numpy 2 errors on second compilation
1 parent eaa59ee commit ebf0fe0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pixi.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ cmd = """
6262
&& colcon build --packages-select mcap_vendor rosbag2_storage_mcap_testdata rosbag2_storage_mcap --cmake-args -DCMAKE_BUILD_TYPE=Release
6363
"""
6464
depends_on = ["ws"]
65+
outputs = ["humble_ws/install/mcap_vendor", "humble_ws/install/rosbag2_storage_mcap"]
6566
cwd = "humble_ws"
6667

6768
# ------------------------------------------------------------------------------------------
@@ -95,6 +96,8 @@ cmd = """
9596
(test -d src/go2_ros2_sdk || git clone --recurse-submodules https://github.com/abizovnuralem/go2_ros2_sdk.git src/go2_ros2_sdk)
9697
&& colcon build --packages-select unitree_go go2_interfaces go2_robot_sdk --cmake-args -DCMAKE_BUILD_TYPE=Release
9798
"""
99+
# Only track go2_interfaces output to prevent rebuilds that cause numpy header compilation errors
100+
outputs = ["humble_ws/install/go2_interfaces"]
98101
cwd = "humble_ws"
99102
depends_on = ["ws"]
100103

0 commit comments

Comments
 (0)