<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 16, 2020 at 12:08 PM Stuart Auchterlonie <<a href="mailto:stuarta@squashedfrog.net">stuarta@squashedfrog.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 16/11/2020 16:58, James Abernathy wrote:<br>
> With my old system, building from source would take 10-15 minutes.<br>
> <br>
> However, with my new system it takes only 40 seconds.<br>
> <br>
> The hardware is Ryzen 5 3600, B550 motherboard with attached M.2 2280 <br>
> NVMe SSD.<br>
> <br>
> I ran it once with make -j 6 and it ran in 5 minutes. Then I completely <br>
> deleted the build/mythtv directories and recloned mythtv.git again. <br>
> However, this time I used make -j 12.<br>
> That seems too good to be true.<br>
> <br>
> Jim A<br>
> <br>
> <br>
<br>
tl;dr -> ccache :)<br>
<br>
long version -> if you installed the build dependencies with the ansible<br>
playbooks, then you got ccache installed. you can check your hit ratio<br>
with `ccache -s`<br>
<br>
<br>
Regards<br>
Stuart<br></blockquote><div><br></div><div>Thanks, forgot about the ccache. I did use ansible to get my dependencies.</div><div><br></div><div>However with ccache deleted I used make -j 12 and did it in 4 min, 34sec.</div><div><br></div><div>That's a great improvement for me.</div><div><br></div><div>Jim A<br> </div></div></div>