#Ccache

2025-10-29

When compiling #debian source packages in Trixie and using #ccache , the CCACHE_DIR environment variable must be explicitly set. This was not the case in Bookworm.

terceiro.xyz/2024/09/08/gotcha

2025-09-29

So I found out why #Tenacity #Windows runners were failing on 32-bit and 64-bit Windows: because compiler caching was actually still being used! I was not aware that those runner images came with #ccache already installed. Therefore we'll have to disable it manually.

NOW these runners should build. They may still fail their job due to other unknown issues, but we're getting closer to nightly Windows installers again, plus a new Windows in ARM installer! 😄

2024-12-14

Currently building Valve's #Proton to bisect an issue and it's surprisingly easy.

Just set up #podman and then it's just simple Makefiles. #ccache set up for you too, neat.

You give it a custom name via configure.sh, then make the `install` target, wait for it to compile and it installs the freshly built Proton right into your steam's compatools.d; ready for use.

You need to pass SHELL=/bin/sh if you're on #NixOS because the #Makefile assumes that /bin/bash exists but then it just works. Considering to send a PR to fix that upstream.

Victor Gaydovgavv@fosstodon.org
2024-05-01

I recently discovered gitcache, it's like ccache, but for git clone:

github.com/seeraven/gitcache

I periodically need to do a full clean + rebuild of some cmake projects that download and build their dependencies, and gitcache speeds this up A LOT.

#git #buildsystems #ccache #cmake

Jérôme CarreterocJ@zougloub.eu
2024-04-22
Schamschulaschamschula
2023-12-16

sure creates a lot of files! I accidentally had back it up (as part of /var) before a OS upgrade.

Felix Palmen 📯zirias@techhub.social
2023-09-18

Update on my #FreeBSD #Linuxulator "userland from source" project: Fixing "interesting" issues 🙄

I meanwhile created a #ports #overlay, for easy testing in different environments, and trying it on my "productive" builder, there were suddenly lots of failures. The "weirdest" one now took me many days to fully understand: For some ports, "stage" seemed to install the files just fine, yet "package" didn't find any files. 🤯

Turns out installing using #Linux tools created the stagedir below /compat/linux instead. Trying to understand why, the answer was "because it could".

The indirect reason was #ccache, forcing #poudriere to do everything as root by default, and for root, /compat/linux is writable. There are still some other fails, maybe also ccache-related, but at least I just committed a workaround (including a warning) for *this* issue:
github.com/Zirias/freebsd-port

Felix Palmen 📯zirias@techhub.social
2023-08-11

@jhx It would be a lot less frustrating if I wouldn't have to sit and wait all the time (e.g. rebuilding my minimal cross-gcc takes around 11 minutes).

I wonder whether #ccache with #poudriere would also work for some custom-built cross-compiler? 🤔

2023-08-10

New 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗼𝗻 𝗙𝗿𝗲𝗲𝗜𝗣𝗔/𝗜𝗗𝗠 𝘄𝗶𝘁𝗵 𝗣𝗼𝘂𝗱𝗿𝗶𝗲𝗿𝗲 𝗥𝗲𝗽𝗼 (FreeBSD on FreeIPA/IDM with Poudriere Repo) article on vermaden.wordpress.com blog.

vermaden.wordpress.com/2023/08

#verblog #ccache #freebsd #freeipa #idm #nginx #poudriere #repo #repository

2023-03-05

Wichtigste Eigenschaft eines Compiler-Caches: Geschwindigkeit, Geschwindigkeit und letztendlich Geschwindigkeit.

Tja, und dann ist das feature-überladene New Kid on the Block gut 25% langsamer, als der alte Platzhirsch. Bei warmem, perfekt befüllten Cache wohlgemerkt. Von der unfassbar schlimmen Performance bei kaltem Cache mag ich überhaupt nicht anfangen...

#CCache vs. #SCCache
#fail #bloatware

ClickHouse CI :archlinux:ClickHouseCI@hostux.social
2023-02-03

Добавлю в планы на следующую неделю попытку мигрировать билды с #ccache на github.com/mozilla/sccache

ccache уже какое-то время имеет в планах добавление новой системы бекендов github.com/ccache/ccache/issue

Но надо попробовать что-то новое. Сейчас билды архивируют кэш полностью, после того, как его перестраивают. Если что-то меняется в мастере, или происходит merge/rebase, кэш становится бесполезным. Надо делать его глобальным.

Michał Górny :gentoo:mgorny@fosstodon.org
2023-01-02

So I've wasted a lot of time testing the new #LLVM snapshot yesterday, then spent some time debugging why I have almost no #ccache hits on the second rebuild… only to discover /var/cache/ccache ran out of space.

I suppose it's enterprise-grade software all the way through. It won't report an error unless you go out of your way to get the debug output out of it x_x.

Added a check for free space to my bashrc.

A #Gentoo story.

Michał Górny :gentoo:mgorny@fosstodon.org
2022-12-21

I had to remove most of my caches (hello, Chromium building from scratch) because #ccache suddenly started SIGBUS-ing with existing caches. Feature or damaged files?

#Gentoo

Jérôme CarreterocJ@zougloub.eu
2022-12-14

I just realized that it must have been a while that the #Linux kernel build system doesn't support #ccache rebuild acceleration anymore: “-Wp,-M[M]D with -o without -MMD, -MQ or -MT is not supported”...

Alvaro Figueroafede2
2017-04-19

Any docs for integrating building with with ?

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst