home.social

#ccache — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #ccache, aggregated by home.social.

  1. I still remember the time #DistCC and #CCache was installed on all my computers so I could compile faster..

    #Gentoo #Linux #Compile #DIY

  2. I still remember the time #DistCC and #CCache was installed on all my computers so I could compile faster..

    #Gentoo #Linux #Compile #DIY

  3. I still remember the time #DistCC and #CCache was installed on all my computers so I could compile faster..

    #Gentoo #Linux #Compile #DIY

  4. I still remember the time #DistCC and #CCache was installed on all my computers so I could compile faster..

    #Gentoo #Linux #Compile #DIY

  5. I still remember the time #DistCC and #CCache was installed on all my computers so I could compile faster..

    #Gentoo #Linux #Compile #DIY

  6. Oh, my #ccache is filling up:

    Cache size (GiB): 40.3 / 100.0 (40.25%)

    Note that this is #zstd compressed.

    #dev

  7. Oh, my #ccache is filling up:

    Cache size (GiB): 40.3 / 100.0 (40.25%)

    Note that this is #zstd compressed.

    #dev

  8. Oh, my #ccache is filling up:

    Cache size (GiB): 40.3 / 100.0 (40.25%)

    Note that this is #zstd compressed.

    #dev

  9. Oh, my #ccache is filling up:

    Cache size (GiB): 40.3 / 100.0 (40.25%)

    Note that this is #zstd compressed.

    #dev

  10. Oh, my #ccache is filling up:

    Cache size (GiB): 40.3 / 100.0 (40.25%)

    Note that this is #zstd compressed.

    #dev

  11. 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

  12. 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.

  13. 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.

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

  15. 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

  16. @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? 🤔

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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

  22. So I've wasted a lot of time testing the new snapshot yesterday, then spent some time debugging why I have almost no 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 story.

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