Skip to content

Commit 95ef953

Browse files
committed
CircleCI cache: have all cache layers caching packages directory.
Heads buildstystem: -Makefile logic will download packages, check its integrity, extract and patch extracted directory if no corresponding .*_verify files are found under packages directory. -build/module* .configured is written when packages are configured under build/modulename-ver/.configured -build/modules* .build is written when packages are built under build/modulename-ver/.build Consequently: -CircleCI cache should include packages cache (so that packages are downloaded and verified once.) -Heads Makefile only downloads, checks and extracts packages, and then patch extracted directory content if packages/.module-version_verify doesn't exist.
1 parent 3b99caa commit 95ef953

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,19 +158,19 @@ jobs:
158158
#CircleCI removed their wildcard support, so we have to list precise versions to cache in directory names
159159
key: heads-musl-cross-{{ checksum "./tmpDir/musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}
160160
paths:
161+
- packages
161162
- crossgcc
162163
- build/musl-cross-38e52db8358c043ae82b346a2e6e66bc86a53bc1
163164
- save_cache:
164165
#Generate cache for the same coreboot mnd musl-cross-make modules definition if hash is not previously existing
165166
#CircleCI removed their wildcard support, so we have to list precise versions to cache in directory names
166167
key: heads-coreboot-musl-cross-{{ checksum "./tmpDir/coreboot_musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}
167168
paths:
169+
- packages
168170
- build/coreboot-4.11
169171
- build/coreboot-4.13
170172
- build/coreboot-4.14
171173
- build/coreboot-4.15
172-
- crossgcc
173-
- build/musl-cross-38e52db8358c043ae82b346a2e6e66bc86a53bc1
174174
- save_cache:
175175
#Generate cache for the exact same modules definitions if hash is not previously existing
176176
key: heads-modules-and-patches-{{ checksum "./tmpDir/all_modules_and_patches.sha256sums" }}{{ .Environment.CACHE_VERSION }}

0 commit comments

Comments
 (0)