Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> There will me gigabytes of dependencies or object files that aren't needed taking up space.

Among the couple dozen things I've got built from source, most have their object files sum up to less than the 117MB of a libLLVM-15.so.1, and if not, are only slightly larger (200-300MB). (and, as for the topic in question, maybe only one downloaded its own toolchain, and everything else freely allowed me to give a local gcc or clang in 'CC='/'CXX=').

I think a build of all targets of QEMU is the only significantly larger thing I have (1.9GB of binaries, 2.1GB of object files).

> Alternatively a systemd timer that deletes old stuff that hasn't been accessed in weeks would work too.

Besides being awful (why does a build system need to even know about systemd?!?!!? much less make a semi-permanent addition), that also would fail if I moved the build directory to somewhere else (which, granted, would probably mean a clean would be needed to rebuild, but I will not care when I'm moving all of my git clones from one drive to another).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: