I updated my source tree and did a whole world build then did the buildworld again without changing anything that would affect something to get rebuild and then the world has been built now in 192 seconds. Indeed, it seems pico files can be cached too. Sorry for the noise and thank you all! Have a good one.
On 4/27/25 12:52 PM, Dimitry Andric wrote: > On 27 Apr 2025, at 01:28, Yusuf Yaman <nxjos...@protonmail.com> wrote: >> I am a new user of 15.0-CURRENT and just updated my source tree and >> noticed that there are now files to be built that have the ".pico" >> extension, as a ccache user, i was enjoying fast world/kernel builds but >> these files doesn't seem to get cached to me and my world builds are >> taking long time than ever. Is there a way to skip building these >> ".pico" files? Thanks in advance and thanks for your efforts and work. >> >> I am on this commit. 6014596899c > We have been using .pico files for years now, so that shouldn't really a > be a problem. At least, I hope not! > > However, if you did an incremental build, previously libllvm and friends > were built from .o files (i.e. position dependent). These were then > added to a static library, with a .a extension. Now libllvm and friends > are built as shared libraries, therefore all the objects have to rebuilt > as position independent (PIC), with a .pico extension. > > Similarly, a number of tools built under usr.bin/clang have been > switched to position independent (PIE), therefore their objects also > have to be rebuilt: instead of .o, these now use .pieo. > > In any case, ccache will still help if you do future rebuilds. It is > only with this particular transition that a number of objects really > have to be fully recompiled. > > -Dimitry >