[Mesa-dev] [PATCH kmscube 3/3] meson build support (v2)

Rob Clark robdclark at gmail.com
Mon Mar 27 14:42:10 UTC 2017


On Mon, Mar 27, 2017 at 5:51 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 26 March 2017 at 14:59, Rob Clark <robdclark at gmail.com> wrote:
>> Figured I should figure out what this meson stuff is all about.  After a
>> bit of hunting around to find examples to look at (and interruptions) it
>> took maybe ~1hr to convert (for someone who never looked at meson
>> before).  The build speed is definitely faster even after Emil's auto-
>> tools improvements:
>>
> s|'s autotools improvements|removing some copy/paste autotools mistakes|
> Or drop the whole sentence, or ... meh.

well, copy/paste is how I autotool..  I thought that was how everyone did it ;-)

>> meson:
>>         real    0m1.310s
>>         user    0m2.069s
>>         sys     0m0.459s
>>
>> autotools:
>>         real    0m4.489s
>>         user    0m3.754s
>>         sys     0m0.731s
>>
> Percent-wise great improvement. Otherwise - not sure if I'd bother.
>
> Not my call, either way :-\


obviously build-time of kmscube isn't really a big deal, but I figured
it made a nice simple meson example, and it was a good excuse for me
to get my feet wet.

I'm undecided about whether or not to keep the autotools build.  I
know there is some OE recipe floating around to build kmscube (since
it really is the killer-app of the embedded world :-P), but otherwise
probably aren't many/any distro's packaging it

BR,
-R


More information about the mesa-dev mailing list