<div dir="ltr"><div><div>meson fails to link LLVM on my setup, so I can't use it, therefore all my meson changes are untested.<br><br></div>Even if meson worked, I have to use make, because that's what users use.<br><br></div><div>This change simplifies the meson build too.<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div>Marek</font></span><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 9, 2018 at 2:21 PM, Dylan Baker <span dir="ltr"><<a href="mailto:dylan@pnwbakers.com" target="_blank">dylan@pnwbakers.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you tried using the meson build if you're that concerned about build times?<br>
The plan remains to remove the autotools build at some point, so creating a<br>
massive amount of churn in the autotools build that may or may not break<br>
something to get some amount of speedup when you could just change tools and get<br>
a better speedup seems odd to me.<br>
<br>
(meson -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=radeonsi)<br>
for reference, with cold ccache:<br>
ninja -C build-si -j6 703.15s user 56.77s system 383% cpu 3:17.94 total<br>
<br>
and a hot:<br>
ninja -C build-si -j6 54.36s user 6.72s system 340% cpu 17.929 total<br>
<br>
compared to autotools<br>
(./configure --without-dri-drivers --without-vulkan-drivers --with-gallium-drivers=<wbr>radeonsi)<br>
cold:<br>
make -j6 827.63s user 72.89s system 339% cpu 4:25.34 total<br>
<br>
hot:<br>
make -j6 175.09s user 24.42s system 278% cpu 1:11.64 total<br>
<br>
Just to be clear, meson/ninja doesn't suffer from the recursive make problem<br>
that autotools does. There is no way you can get the same level of performance<br>
from make without reducing the autotools build to gibberish.<br>
<br>
Dylan<br></blockquote></div><br></div></div>