to activate ccache
- install it in the chroot
- set it up in the script (after a potential wiki:icecc setup)
- export PATH=/usr/lib/ccache:$PATH #use the ccache compilers
- export CCACHE_PREFIX=icecc
thats it
the cache set per node and is located in the jenkins home directory (/var/lib/jenkins/.ccache)
in order to set the ccache directory:
- create a ccache folder in the jenkins folder (pernode):
- cd /data/jenkins/
- mkdir ccache
- chown jenkins:jenkins ccache
- or: sudo mkdir -p /data/jenkins/ccache && sudo chown jenkins:jenkins /data/jenkins/ccache
export CCACHE_READONLY=true
Last modified 7 years ago
Last modified on 08/22/14 17:38:18