#ccache — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #ccache, aggregated by home.social.
-
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.
https://terceiro.xyz/2024/09/08/gotcha-using-ccache-in-debian-package-builds/
-
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.
-
I recently discovered gitcache, it's like ccache, but for git clone:
https://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.
-
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:
https://github.com/Zirias/freebsd-ports-overlay-linuxsrc/commit/e354a4d999e79f40d0f6aee1a40c897613ec7460 -
@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? 🤔
-
New 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗼𝗻 𝗙𝗿𝗲𝗲𝗜𝗣𝗔/𝗜𝗗𝗠 𝘄𝗶𝘁𝗵 𝗣𝗼𝘂𝗱𝗿𝗶𝗲𝗿𝗲 𝗥𝗲𝗽𝗼 (FreeBSD on FreeIPA/IDM with Poudriere Repo) article on vermaden.wordpress.com blog.
https://vermaden.wordpress.com/2023/08/10/freebsd-on-freeipa-idm-with-poudriere-repo/
#verblog #ccache #freebsd #freeipa #idm #nginx #poudriere #repo #repository
-
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...
-
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...
-
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...
-
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...
-
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.
-
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?
-
How To Speed Up Compilation Process When Installing Packages From AUR #Ccache #ArchUserRepository #AUR #ArchLinux #Endeavouros #Manjaro #Linux #Linuxhowto #Linuxtips
https://ostechnix.com/speed-compilation-process-installing-packages-aur/ -
Speed Up Compilation Process When Installing Packages From AUR On Arch Linux #ccache #CompilerCache #AUR #ArchUserRepository #Archlinux
https://www.ostechnix.com/speed-compilation-process-installing-packages-aur/