gazebo-tooling / release-tools

8 stars 9 forks source link

Use buildcache or sccache for Windows CI jobs #1111

Open azeey opened 8 months ago

azeey commented 8 months ago

Since windows CI jobs build all Gazebo dependencies from source, using a compiler caching tool like buildcache or sscache would greatly speed up CI jobs. We use ccache for Linux, but it doesn't seem like it's fully supported on Windows.

cc @mjcarroll

mjcarroll commented 8 months ago

I have had good luck with https://gitlab.com/bits-n-bites/buildcache, but it does require a slightly different set of flags for MSVC to get better caching behavior: https://github.com/gazebosim/gz-cmake/pull/306