File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,6 +210,19 @@ jobs:
210210 echo "Current llama.cpp commit:"
211211 git log --oneline -1
212212
213+ - name : Setup ccache
214+ # Auto-consumed by the build: llama.cpp's CMake sets ccache as the compile
215+ # launcher when GGML_CCACHE is ON (default) and ccache is on PATH, so no
216+ # cmake flags are needed. Persists across runs via actions/cache. Nightly
217+ # ROCm bumps change the compiler and will miss (expected); incremental
218+ # commits on the same ROCm hit. Only write the cache from pushes to gfx11
219+ # so PRs read but don't thrash the shared store.
220+ uses : ggml-org/ccache-action@v1.2.21
221+ with :
222+ key : gfx11-rocm-multiarch
223+ evict-old-files : 7d
224+ save : ${{ github.event_name == 'push' && github.ref == 'refs/heads/gfx11' }}
225+
213226 - name : Build Llama.cpp + ROCm
214227 run : |
215228 gpu_targets="${{ env.GPU_TARGETS }}"
You can’t perform that action at this time.
0 commit comments