Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions microros_utils/library_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,13 @@ def build_dev_environment(self):
print("Building micro-ROS dev dependencies")

# Fix build: Ignore rmw_test_fixture_implementation in rolling
touch_command = ''
command = ''
if self.distro in ('rolling', 'kilted'):
touch_command = 'touch src/ament_cmake_ros/rmw_test_fixture_implementation/COLCON_IGNORE && '
command = "cd {} && {} . {} && colcon build --packages-ignore rmw_test_fixture --cmake-args -DBUILD_TESTING=OFF -DPython3_EXECUTABLE=`which python`".format(self.dev_folder , touch_command, self.python_env)
else:
command = "cd {} && . {} && colcon build --cmake-args -DBUILD_TESTING=OFF -DPython3_EXECUTABLE=`which python`".format(self.dev_folder , self.python_env)

command = "cd {} && {} . {} && colcon build --cmake-args -DBUILD_TESTING=OFF -DPython3_EXECUTABLE=`which python`".format(self.dev_folder, touch_command, self.python_env)
result = run_cmd(command, env=self.env)

if 0 != result.returncode:
Expand Down