LouKordos / walking_controller

The main walking controller code for the Bipedal Robot.
14 stars 3 forks source link

Fix compile caching in Docker container to reduce build time #72

Open LouKordos opened 3 years ago

LouKordos commented 3 years ago

Currently, the entire source code is copied into the docker image context and fully recompiled. This takes up quite some time at this point, and should be fixable by some sort of caching.

For this, look into how CMake and make decides when to recconfigure and recompile, ask Cpplang for specific solutions and look into ccache as a specific solution.

LouKordos commented 3 years ago

Commit e55634012841612c6560c0a73451609e927d80fe already reduced time spent a lot by not sending plot_data directory to the daemon. This, combined with 9faf950088f1ea55c22480556f295d315c0e240a already reduces docker build time to ~30s, which is acceptable.