]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
run-make-check.sh: Adding ccache tuning for the CI 22847/head
authorErwan Velu <erwan@redhat.com>
Wed, 4 Jul 2018 07:47:56 +0000 (09:47 +0200)
committerErwan Velu <erwan@redhat.com>
Wed, 4 Jul 2018 09:55:43 +0000 (11:55 +0200)
commit4cb5a590537a9caaf61db42ce8ea123d2ab961f3
tree9ac6a791e7d2e32524bebf974ac304bcb8fa91e8
parent297a4286996dd614faa3c4f17ec5b65a74285cde
run-make-check.sh: Adding ccache tuning for the CI

When run-make-check is run by the CI, some tuning can be performed to
speedup the build.

This commit :
- Detect jenkins by searching JENKINS_HOME env variable
- Defines the SOURCE_DATE_EPOCH to enforce a stable date across builds
- Ask cmake not to use the git versioning which adds useless entropy for a temporary build (ENABLE_GIT_VERSION=OFF)
- Define the ccache slopiness to increase efficiency
- Increase the ccache size to save multiple builds to maximise cache hit between PRs
- Print ccache statistics to evaluate ccache efficiency

Signed-off-by: Erwan Velu <erwan@redhat.com>
run-make-check.sh