Commit c26aa61
Merge #216
216: murdock_worker: add newer ccache (4.7.4) r=kaspar030 a=kaspar030
ccache version 4.7 adds the option to have a remote-only cache on secondary storage (e.g., **redis**).
I have a [branch](RIOT-OS/murdock-worker#5) modifying the murdock worker docker-compose to add a redis instance for caching.
The ccache binary is the official binary release from https://ccache.dev/download.html.
(debians bookworm has a .dpkg, but that's not compatible to our Ubuntu's older libraries).
My hope is that a local redis scales better with larger caches, which have shown to stall builds when the cache is full and needs to be cleaned (`@cgundogan` remember the sawtoothing?). redis LRU is cheap.
Also, redis handles persistence (compared to tmpfs), which would **make reboots/restarts not loose all of ccache**.
Potentially, redis can be distributed, so e.g., the mobis could have a larger cache shared between them.
(I've piggibacked a commit creating `/cache` with rwx:all permissions, that's necessary to mount volumes so they're accessible by a non-root in-docker uid. otherwise, mounts default to root-only permissions.)
Co-authored-by: Kaspar Schleiser <[email protected]>File tree
3 files changed
+12
-0
lines changed- murdock-worker
- files
3 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments