Skip to content

Use ccache #53211

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

Closed
wants to merge 4 commits into from
Closed

Use ccache #53211

wants to merge 4 commits into from

Conversation

jonashaag
Copy link
Contributor

Supersedes #47360

Meson autodetects and autouses ccache so this PR turns out to be very simple.

Shaves off ~ 5 min

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@jonashaag
Copy link
Contributor Author

Is the build failure related to this change?

@mroeschke
Copy link
Member

Seems like the ccache is not being used correctly in one of the code checks?

Configure sccache
  /usr/bin/bash -xc env SCCACHE_IDLE_TIMEOUT=0 SCCACHE_DIR='/home/runner/work/pandas/pandas'/.sccache SCCACHE_CACHE_SIZE='500M' sccache --start-server
  + '[' -z '' ']'
  + return
  + case $- in
  + return
  + env SCCACHE_IDLE_TIMEOUT=0 SCCACHE_DIR=/home/runner/work/pandas/pandas/.sccache SCCACHE_CACHE_SIZE=500M sccache --start-server
  sccache: Starting the server...
  sccache: error: Server startup failed: Address in use

@mroeschke mroeschke added the CI Continuous Integration label May 15, 2023
@mroeschke mroeschke mentioned this pull request May 15, 2023
5 tasks
@jonashaag
Copy link
Contributor Author

FYI sccache-action is actually pretty nice because of this: Mozilla-Actions/sccache-action#43 (comment)

@jonashaag
Copy link
Contributor Author

Hmm Meson detects sccache but somehow the cache is not filled.

@github-actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Jun 19, 2023
@mroeschke
Copy link
Member

Thanks for the PR but it appears to have gone stale. If you want to continue feel free to ping and I can reopen

@mroeschke mroeschke closed this Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants