Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup devel docker to speed up first build using ccache (#77)
This proposal speeds up the first build after starting the container, and also if the `build` and `install` folders are cleared for any reason. - Adds cccache to the container. - Binds a new docker volume to keep the ccache cache files in the host machine. - Installs colcon mixins in the container to use the ccache mixin. - Setups the defaults.yaml file of colcon to build using the ccache mixin by default. The result is that when using the `colcon build` command all of the build process will go through `ccache`, speeding up the process considerably whenever the same file is built under the same conditions again. Note that there's a new warning during the build process because one of the `flatland` packages seems to ignore the CMake ccache settings. Worst case that means that that part of the process will not be sped up. Signed-off-by: Gerardo Puga <[email protected]>
- Loading branch information