Avoid rebuilding unchanged packages

asked 2021-02-17 00:17:20 -0500

Rufus gravatar image

Assume I run catkin build twice with no modifications, I would expect the second catkin build to complete almost instantaneously, since there's nothing that needs to be done.

I'm not exactly sure whether it's the compiling or the linking that takes a long time. It's definitely faster than doing a clean rebuild, but still slower than I would expect (some packages take 5+ secs).

Is there settings on catkin to make it avoid unnecessarily rebuilding unchanged packages? I've tried running catkin config --env-cache (from here) but didn't see any noticeable change.

edit retag flag offensive close merge delete

Comments

1

If you run catkin build -v, you can see what it's doing.

Most likely, it's not actually doing anything.

gvdhoorn gravatar image gvdhoorn  ( 2021-02-17 02:07:50 -0500 )edit