All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
To: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: Meson support in oe-core
Date: Thu, 10 Aug 2017 09:05:56 -0500	[thread overview]
Message-ID: <1502373956.29285.12.camel@linux.intel.com> (raw)
In-Reply-To: <dbc83877-5b7e-fadb-0e0a-e8edb82386a2@linux.intel.com>

On Thu, 2017-08-10 at 13:11 +0300, Alexander Kanavin wrote:
> On 08/10/2017 12:10 AM, Randy MacLeod wrote:
> > Yep, total time for 'without gtk-doc' is *more* than cut in half!
> > 
> > The drop in configure time is certainly expected but the compilation
> > stage should be dominated by the compiler rather than make or ninja.
> > The 'without gtk-doc' compile difference mostly confirms that
> > but the 9% drop is odd. A couple of sources I've found assert that
> > for large projects and parallel builds a full build time is essentially
> > the same with ninja:
> >     http://david.rothlis.net/ninja-benchmark/
> > That work was done on a MacBook (!!) so it would be interesting to
> > see what the results are on a 24+ core Linux system. I might
> > give that a try tonight if there's nothing good on NetFlix.
> 
> To be honest, achieving faster build times is secondary in importance to 
> me. The important part is that autotools is one of the most awful pieces 
> of software ever written, and the less we have to deal with it in Yocto, 
> the happier we all will be. Upstreans generally share that POV.
> 
> Read this:
> http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html
> and this:
> http://voices.canonical.com/jussi.pakkanen/2011/09/13/autotools/
> 
> > By the way, systemd-234 has meson support and you (Alex) have sent
> > a patch update to 242 to the oe-core list but without switching to meson
> > as is reasonable. Anyway, 232 takes 51 seconds on my 16+16 core machine
> > so it would be a useful benchmark as well. Want to take a stab at that?
> 
> Oe-core master does not yet have any support for meson. We've done some 
> private work to bring it in, but it's not ready for submission yet. I 
> also want to build a few different recipes with it to make sure it 
> 'basically works' for several different things.
> 
> After meson support is in master, we can start converting recipes from 
> autotools to meson. That requires careful manual work, but the good news 
> is that it can be done piece-meal; there's no need to switch everything 
> at once.
> 

Alex, is there a autotools-to-meson guide? I like to participate on this
migration.

Leo

> My plan is to try gstreamer next, and after that, implement meson 
> support for gettext. It's a notorious bottleneck in many builds, due to 
> inexplicably slow autoconf (that even RP couldn't get down to the root 
> cause of).


> 
> Alex




  reply	other threads:[~2017-08-10 13:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-07 12:09 [PATCH] libinput: Upgrade 1.7.3 -> 1.8.1 Jussi Kukkonen
2017-08-07 12:19 ` Meson support in oe-core Alexander Kanavin
2017-08-07 13:00   ` Richard Purdie
2017-08-07 13:47     ` Alexander Kanavin
2017-08-09 21:10       ` Randy MacLeod
2017-08-09 22:03         ` Burton, Ross
2017-08-09 23:17         ` Khem Raj
2017-08-10 10:11         ` Alexander Kanavin
2017-08-10 14:05           ` Leonardo Sandoval [this message]
2017-08-11  9:05             ` Alexander Kanavin
2017-08-08 21:07 ` [PATCH] libinput: Upgrade 1.7.3 -> 1.8.1 Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502373956.29285.12.camel@linux.intel.com \
    --to=leonardo.sandoval.gonzalez@linux.intel.com \
    --cc=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.