Skip to content

Conversation

@trxcllnt
Copy link
Contributor

@trxcllnt trxcllnt commented Oct 23, 2025

Description

Update conda and wheel builds to use sccache-dist.

Opening as a draft PR to test CI, will move setup into ci-imgs once it's working.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@trxcllnt trxcllnt requested review from a team as code owners October 23, 2025 17:39
@trxcllnt trxcllnt added 3 - Ready for review Ready for review by team non-breaking Non-breaking change improvement Improvement / enhancement to an existing function labels Oct 23, 2025
@trxcllnt trxcllnt force-pushed the fea/use-sccache-build-cluster branch from 2c6bbc9 to b2f5e51 Compare October 23, 2025 17:42
@trxcllnt trxcllnt marked this pull request as draft October 23, 2025 17:43
@copy-pr-bot
Copy link

copy-pr-bot bot commented Oct 23, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@trxcllnt trxcllnt force-pushed the fea/use-sccache-build-cluster branch 13 times, most recently from 8ab743f to 036f5bb Compare October 23, 2025 20:08
@rapidsai rapidsai deleted a comment from coderabbitai bot Oct 23, 2025
@trxcllnt trxcllnt force-pushed the fea/use-sccache-build-cluster branch from 036f5bb to 44c412f Compare October 23, 2025 20:10
@rapidsai rapidsai deleted a comment from coderabbitai bot Oct 23, 2025
@trxcllnt trxcllnt force-pushed the fea/use-sccache-build-cluster branch 4 times, most recently from a1cc3e8 to ea48f7a Compare October 27, 2025 20:30
@trxcllnt trxcllnt force-pushed the fea/use-sccache-build-cluster branch 6 times, most recently from bb50d87 to 8ec8d14 Compare November 3, 2025 19:15
@trxcllnt
Copy link
Contributor Author

trxcllnt commented Nov 3, 2025

/ok to test 8ec8d14

@trxcllnt trxcllnt force-pushed the fea/use-sccache-build-cluster branch 4 times, most recently from 0faedd4 to 3329a0b Compare November 3, 2025 22:05
@trxcllnt
Copy link
Contributor Author

trxcllnt commented Nov 3, 2025

/ok to test 3329a0b

@trxcllnt trxcllnt marked this pull request as ready for review November 3, 2025 23:12
@trxcllnt trxcllnt requested review from a team as code owners November 3, 2025 23:12
@trxcllnt trxcllnt requested review from davidwendt and vyasr November 3, 2025 23:12
trxcllnt added a commit to rapidsai/shared-actions that referenced this pull request Nov 3, 2025
This PR adds a `setup-sccache-dist` action for configuring sccache-dist
for our conda and wheel builds.

The operations performed by this action are:
1. Install the latest sccache client from
[rapidsai/sccache](https://github.com/rapidsai/sccache)
2. Configures the sccache client for distributed compilation (by
contributing envvars to `$GITHUB_ENV`)
3. Sets up sccache client preprocessor and toolchain GHA caches (via
`actions/cache`)
4. Configures the sccache client to write debug logs to `${{
inputs.log-file }}`

One caveat -- this action assumes it is running inside one of our conda
or wheel [`rapidsai/ci-imgs`](https://github.com/rapidsai/ci-imgs)
images. I considered contributing these changes there, but at least for
now, I don't want to bake anything into those images that might need to
change more frequently (e.g. the sccache version).

Tested in rapidsai/rmm#2101 (example workflow
run
[here](https://github.com/rapidsai/rmm/actions/runs/18859867864/job/53815921352?pr=2101)).

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@trxcllnt trxcllnt force-pushed the fea/use-sccache-build-cluster branch from 3329a0b to eeecbb9 Compare November 3, 2025 23:36
@trxcllnt
Copy link
Contributor Author

trxcllnt commented Nov 3, 2025

/ok to test eeecbb9

@trxcllnt trxcllnt force-pushed the fea/use-sccache-build-cluster branch from 5daf419 to 8781113 Compare November 4, 2025 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Ready for review Ready for review by team improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants