ros-tooling / cross_compile

A tool to build ROS and ROS2 workspaces for various targets
Apache License 2.0
188 stars 60 forks source link

Do not bust the Docker cache (via `rosdep install`) when only sources have changed #106

Closed emersonknapp closed 4 years ago

emersonknapp commented 4 years ago

Description

When iterating on a workspace, any change that I make to the source (https://github.com/ros-tooling/cross_compile/blob/master/cross_compile/Dockerfile_ros#L100) busts the docker cache, and causes a full rosdep reinstall (https://github.com/ros-tooling/cross_compile/blob/master/cross_compile/Dockerfile_ros#L108) even if the needed dependencies haven't changed.

This rosdep install step can be one of the longest steps in the build process, especially for high level packages.

Completion Criteria

Implementation Notes

Testing Notes

thomas-moulard commented 4 years ago

Punted from sprint #11 to sprint #12 on 2020-02-03