Commit 626ea6bb authored by Johan Helsing's avatar Johan Helsing

Update readme with ccache instructions

parent 5e6b6175
......@@ -32,3 +32,20 @@ in a config.opt file and running docker like this:
-it docker-qt-tests
### ccache volume
If you run the image multiple times on similar patch sets, e.g. in CI systems,
you can cache compilation results by using a shared ccache between different
runs. Create a voume using:
$ docker volume create ccache
And then launch like this
$ docker run -v ccache:/home/build/.ccache \
-it docker-qt-tests
By default the cache will be 5GiB, you might want to increase it slightly by
editing ccache.conf in the volume.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment