Skip to content

Commit

Permalink
Add fallback flag for sccache (#5170)
Browse files Browse the repository at this point in the history
SCCACHE_IGNORE_SERVER_IO_ERROR=1

Closes #5163

Co-authored-by: Yong He <[email protected]>
  • Loading branch information
expipiplus1 and csyonghe authored Sep 27, 2024
1 parent 70925fe commit 68c2834
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/common-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ runs:
# hosted runners or ARM
continue-on-error: true

- name: Set environment variable for CMake
- name: Set environment variable for CMake and sccache
shell: bash
run: |
if [ "${{inputs.build-llvm}}" == "true" ]; then
Expand All @@ -108,6 +108,7 @@ runs:
echo "CMAKE_CXX_COMPILER_LAUNCHER=sccache" >> "$GITHUB_ENV"
echo "CMAKE_C_COMPILER_LAUNCHER=sccache" >> "$GITHUB_ENV"
fi
echo SCCACHE_IGNORE_SERVER_IO_ERROR=1 >> "$GITHUB_ENV"
# Install swiftshader
- uses: robinraju/[email protected]
Expand Down

0 comments on commit 68c2834

Please sign in to comment.