Skip to content

Conversation

@coryan
Copy link
Contributor

@coryan coryan commented Jun 1, 2018

With this change the Travis builds on Linux+CMake use ccache, speeding up many of the builds. For example, the clang-tidy build goes from ~24m to ~13m:

Before:
https://travis-ci.org/GoogleCloudPlatform/google-cloud-cpp/jobs/386452738

After (with a warm cache):
https://travis-ci.org/GoogleCloudPlatform/google-cloud-cpp/jobs/386477710

In general, branches and PRs use the cache from the master branch, so most builds should experience an improvement.

The total build time did not improve that much because it is dominated by the TEST_INSTALL=yes build:

After (with a warm cache):
https://travis-ci.org/GoogleCloudPlatform/google-cloud-cpp/jobs/386477709

I would rather address that problem in a future PR, because I would rather see the current gains deployed.

@coryan coryan added the testing label Jun 1, 2018
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 1, 2018
docker_uid="${UID:-0}"
fi

# Use a volume to store the any cache files, so we save the cache for future
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'the' seems unnecessary

Copy link
Contributor

@manish-qlogic manish-qlogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@coryan coryan merged commit 6109022 into googleapis:master Jun 1, 2018
@coryan coryan deleted the use-ccache branch June 1, 2018 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants