Skip to content

Commit

Permalink
Increase Windows/clcache size to 2 GB
Browse files Browse the repository at this point in the history
This is to avoid files getting purged when they may still be useful.
This, in turn, should lead to fewer cache misses.
  • Loading branch information
tautschnig committed Jun 19, 2024
1 parent 50bfa4e commit cf2ef8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,8 @@ jobs:
echo "CLCACHE_DIR=$pwd\.ccache" >> $env:GITHUB_ENV
- name: Configure with cmake
run: cmake -S . -B build
- name: Zero ccache stats and limit in size (2 GB)
run: clcache -z -M 2147483648
- name: Build Release
run: cmake --build build --config Release -- /p:UseMultiToolTask=true /p:CLToolExe=clcache
- name: Print ccache stats
Expand Down Expand Up @@ -789,6 +791,8 @@ jobs:
run: |
echo "CLCACHE_BASEDIR=$((Get-Item -Path '.\').FullName)" >> $env:GITHUB_ENV
echo "CLCACHE_DIR=$pwd\.ccache" >> $env:GITHUB_ENV
- name: Zero ccache stats and limit in size (2 GB)
run: clcache -z -M 2147483648
- name: Download minisat with make
run: make -C src minisat2-download
- name: Build CBMC with make
Expand Down

0 comments on commit cf2ef8d

Please sign in to comment.