Skip to content

Commit b3e8aef

Browse files
committed
ci : set CUDACXX to use sccache for nvcc.exe
1 parent 50adc81 commit b3e8aef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ jobs:
684684
- name: Configure CMake
685685
shell: cmd
686686
run: |
687+
set "CUDACXX=sccache %CUDA_PATH%\bin\nvcc.exe"
687688
cmake -S . -B ./build -A ${{ matrix.arch }} ^
688689
-DCMAKE_BUILD_TYPE=${{ matrix.build }} ^
689690
-DGGML_CUDA=${{ matrix.cublas }} ^
@@ -696,6 +697,10 @@ jobs:
696697
-DCMAKE_POLICY_CMP0141=NEW ^
697698
-DSDL2_DIR="%SDL2_DIR%"
698699
700+
- name: Check sccache status after build
701+
run: |
702+
sccache --show-stats
703+
699704
- name: Build Project
700705
shell: cmd
701706
run: |

0 commit comments

Comments
 (0)