Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information