Skip to content

Commit d4e7c8f

Browse files
sbryngelsonclaude
andcommitted
Remove restore-keys prefix fallback from GH-hosted build cache
The prefix fallback can restore a cache built on a runner with AVX-512 onto a runner without it, causing SIGILL in Chemistry tests. Without restore-keys, only exact key matches are used — source changes trigger a full rebuild but binaries are always compatible with the runner. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2406c64 commit d4e7c8f

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ jobs:
4040
with:
4141
path: build
4242
key: mfc-coverage-${{ hashFiles('CMakeLists.txt', 'toolchain/dependencies/**', 'toolchain/cmake/**', 'src/**/*.fpp', 'src/**/*.f90') }}
43-
restore-keys: |
44-
mfc-coverage-
4543

4644
- name: Setup Ubuntu
4745
run: |

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ jobs:
9999
with:
100100
path: build
101101
key: mfc-build-${{ matrix.os }}-${{ matrix.mpi }}-${{ matrix.debug }}-${{ matrix.precision }}-${{ matrix.intel }}-${{ hashFiles('CMakeLists.txt', 'toolchain/dependencies/**', 'toolchain/cmake/**', 'src/**/*.fpp', 'src/**/*.f90') }}
102-
restore-keys: |
103-
mfc-build-${{ matrix.os }}-${{ matrix.mpi }}-${{ matrix.debug }}-${{ matrix.precision }}-${{ matrix.intel }}-
104102

105103
- name: Setup MacOS
106104
if: matrix.os == 'macos'

0 commit comments

Comments
 (0)