Skip to content

Jenkis builder

Matus Kysel edited this page Nov 19, 2018 · 2 revisions

Linux

ccache

Install package

sudo apt install -y ccache

Configuration

Set this env variable in Jenkins

CCACHE_NOHASHDIR=1

If you want no limit to the number of files and size of the cache:

ccache -F 0
ccache -M 0

Show cache statistics

ccache -s

Empty the cache and reset the stats

ccache -C -z