Our CI builds include building third-party dependencies, like speexdsp and pulseaudio, which take time. We change versions and options of dependencies quite rarely. So I think employing ccache on CI can significantly speed up builds.
ccache is already present in all docker images that we use for CI, so all we need is to setup it properly.
Our CI builds include building third-party dependencies, like speexdsp and pulseaudio, which take time. We change versions and options of dependencies quite rarely. So I think employing ccache on CI can significantly speed up builds.
ccache is already present in all docker images that we use for CI, so all we need is to setup it properly.
Steps:
~/.ccache
inside container to~/.ccache
outside of it--compiler-launcher=ccache
option to scons, which will automatically enable ccache for roc and its dependenciesRelated docs: