[mythtv-users] compile times for mythtv?

James Abernathy jfabernathy at gmail.com
Mon Nov 16 17:27:08 UTC 2020


On Mon, Nov 16, 2020 at 12:08 PM Stuart Auchterlonie <
stuarta at squashedfrog.net> wrote:

> On 16/11/2020 16:58, James Abernathy wrote:
> > With my old system, building from source would take 10-15 minutes.
> >
> > However, with my new system it takes only 40 seconds.
> >
> > The hardware is Ryzen 5 3600, B550 motherboard with attached M.2 2280
> > NVMe SSD.
> >
> > I ran it once with make -j 6 and it ran in 5 minutes.  Then I completely
> > deleted the build/mythtv directories and recloned mythtv.git again.
> > However, this time I used make -j 12.
> > That seems too good to be true.
> >
> > Jim A
> >
> >
>
> tl;dr -> ccache :)
>
> long version -> if you installed the build dependencies with the ansible
> playbooks, then you got ccache installed. you can check your hit ratio
> with `ccache -s`
>
>
> Regards
> Stuart
>

Thanks, forgot about the ccache. I did use ansible to get my dependencies.

However with ccache deleted I used make -j 12 and did it in 4 min, 34sec.

That's a great improvement for me.

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20201116/57246805/attachment-0001.htm>


More information about the mythtv-users mailing list