Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ccache on Travis #261

Merged
merged 2 commits into from
Jun 17, 2019
Merged

Use ccache on Travis #261

merged 2 commits into from
Jun 17, 2019

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Jun 17, 2019

I am not sure whether this is actually useful, though, as we spend very little time compiling stuff (mostly GAP), and far more with downloading GAP, and running the tests.

It's a bit difficult to measure the benefit of this without merging it, though, as of course it only helps once the cache has been filled. As it is, I am not even fully sure this works as intended...

@codecov
Copy link

codecov bot commented Jun 17, 2019

Codecov Report

Merging #261 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #261   +/-   ##
=======================================
  Coverage   69.95%   69.95%           
=======================================
  Files          49       49           
  Lines        3258     3258           
=======================================
  Hits         2279     2279           
  Misses        979      979

@fingolfin fingolfin changed the title WIP: use ccache on Travis Use ccache on Travis Jun 17, 2019
@fingolfin fingolfin requested a review from sebasguts June 17, 2019 13:48
env:
global:
- MAKEFLAGS="-j4"
- JULIA_TRACK_COVERAGE=yes
- PATH="/usr/lib/ccache:$PATH"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not necessary, travis adds /usr/lib/ccache automatically to the path when ccache is enabled.

Suggested change
- PATH="/usr/lib/ccache:$PATH"
- PATH="/usr/lib/ccache:$PATH"

Copy link
Member Author

Choose a reason for hiding this comment

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

As I understood it, it only does so with language: c or language: c++. In any case, I don't see /usr/lib/ccache twice in the PATH... But sure, I can try what happens if I remove that line.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah yeah, that might be a restriction. No, it is fine for me as it is.

@sebasguts sebasguts merged commit b68607a into oscar-system:master Jun 17, 2019
@fingolfin fingolfin deleted the mh/ccache branch June 17, 2019 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants