View previous topic :: View next topic |
Author |
Message |
imbruxo n00b
Joined: 23 Mar 2024 Posts: 15
|
Posted: Sat Nov 02, 2024 3:12 pm Post subject: Do you use ccache in portage ?? |
|
|
so I have this question that is it worth it to use ccache in portage as 2024 ?
any body can give their Idea and details ???
cause somebody tell that is a good thing
somebody tell me it's wast of space and time
but I myself have no Idea about it , and just using system without it
thanks for you attention <3 |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Sat Nov 02, 2024 3:48 pm Post subject: Re: Do you use ccache in portage ?? |
|
|
imbruxo wrote: | so I have this question that is it worth it to use ccache in portage as 2024 ?
any body can give their Idea and details ??? [...] |
First of all: If you are using our binary packages then you dont need it.
I dont use our binpackages and compile everything ... but ... I do my updates in the night (when I sleep) and dont care if it takes one hour or one hour and 20 minutes
Maybe read our wiki article - here you will find typically useful reasons to use it: https://wiki.gentoo.org/wiki/Ccache
... and no, I dont use/need it. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
stefantalpalaru n00b
Joined: 11 Jan 2009 Posts: 65 Location: Italy
|
Posted: Sat Nov 02, 2024 4:55 pm Post subject: Re: Do you use ccache in portage ?? |
|
|
imbruxo wrote: | somebody tell me it's wast of space and time |
That's about right. The average Gentoo user will not benefit from ccache. Further more, it introduces a new class of build-time failure scenarios that you are left debugging by yourself.
Not worth the trouble. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2388
|
Posted: Sat Nov 02, 2024 6:56 pm Post subject: Re: Do you use ccache in portage ?? |
|
|
stefantalpalaru wrote: | imbruxo wrote: | somebody tell me it's wast of space and time |
That's about right. The average Gentoo user will not benefit from ccache. |
That's about wrong. See this post.
stefantalpalaru wrote: | Further more, it introduces a new class of build-time failure scenarios that you are left debugging by yourself.
Not worth the trouble. |
I've had only a few failures related to that during my 4 year odyssey with my old hardware.
However with my current hardware it doesn't make much sense.
Best Regards,
Georgi |
|
Back to top |
|
|
ChrisJumper Advocate
Joined: 12 Mar 2005 Posts: 2400 Location: Germany
|
Posted: Sat Nov 02, 2024 9:10 pm Post subject: |
|
|
hi imbruxo,
you need it if you have in some packages the same binary to recompile. If one Package have some same dependencies and will compile the same binary file. Then ccache will push the answer sonner too it.
It is not easy to answer when its useful. But on gentoo its likely. because you have many packages that do not change. Since updates often change just few of sounds lines of code. However you have many libraries with chances and .. so on. If a sub library chance your upper code with that dependence will change too. But still ccache will boost everything which did not change. |
|
Back to top |
|
|
|