Skip to content

Conversation

boomanaiden154
Copy link
Contributor

Same as 921287e but for Windows.

@boomanaiden154 boomanaiden154 marked this pull request as ready for review July 22, 2025 22:50
@llvmbot
Copy link
Member

llvmbot commented Jul 22, 2025

@llvm/pr-subscribers-github-workflow

Author: Aiden Grossman (boomanaiden154)

Changes

Same as 921287e but for Windows.


Full diff: https://github.com/llvm/llvm-project/pull/150114.diff

1 Files Affected:

  • (modified) .github/workflows/premerge.yaml (+1-6)
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index 80c0a97d03160..c51325e2f0d45 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -88,11 +88,6 @@ jobs:
         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
         with:
           fetch-depth: 2
-      - name: Setup ccache
-        uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
-        with:
-          variant: "sccache"
-          max-size: "2000M"
       - name: Compute Projects
         id: vars
         run: |
@@ -115,7 +110,7 @@ jobs:
         shell: cmd
         run: |
           call C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
-          bash .ci/monolithic-windows.sh "${{ steps.vars.outputs.windows-projects }}" "${{ steps.vars.outputs.windows-check-targets }}"
+          bash -c "export SCCACHE_GCS_BUCKET=$CACHE_GCS_BUCKET; export SCCACHE_GCS_RW_MODE=READ_WRITE; sccache --start-server; .ci/monolithic-windows.sh \"${{ steps.vars.outputs.windows-projects }}\" \"${{ steps.vars.outputs.windows-check-targets }}\""
       - name: Upload Artifacts
         if: '!cancelled()'
         uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0

@boomanaiden154
Copy link
Contributor Author

(Changes were already approved in an earlier version of #149923).

@boomanaiden154 boomanaiden154 merged commit 796f551 into llvm:main Jul 22, 2025
12 checks passed
@boomanaiden154 boomanaiden154 deleted the enable-sccache-windows-gcs branch July 22, 2025 22:53
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants