- 
                Notifications
    
You must be signed in to change notification settings  - Fork 231
 
          Update conda and wheel builds to use sccache-dist
          #2101
        
          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
          
     Open
      
      
            trxcllnt
  wants to merge
  7
  commits into
  rapidsai:main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
trxcllnt:fea/use-sccache-build-cluster
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
      
        
          +29
        
        
          −8
        
        
          
        
      
    
  
Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    2c6bbc9    to
    b2f5e51      
    Compare
  
    | 
           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.  | 
    
8ab743f    to
    036f5bb      
    Compare
  
    036f5bb    to
    44c412f      
    Compare
  
    a1cc3e8    to
    ea48f7a      
    Compare
  
    bb50d87    to
    8ec8d14      
    Compare
  
    | 
           /ok to test 8ec8d14  | 
    
0faedd4    to
    3329a0b      
    Compare
  
    | 
           /ok to test 3329a0b  | 
    
    
  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>
3329a0b    to
    eeecbb9      
    Compare
  
    | 
           /ok to test eeecbb9  | 
    
              
                    bdice
  
              
              approved these changes
              
                  
                    Nov 3, 2025 
                  
              
              
            
            
5daf419    to
    8781113      
    Compare
  
    
  
    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 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Description
Update conda and wheel builds to use
sccache-dist.Opening as a draft PR to test CI, will move setup into
ci-imgsonce it's working.Checklist