From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] ninja/python-meson packages
Date: Wed, 9 Nov 2016 23:13:39 +0100 [thread overview]
Message-ID: <20161109231339.6a4830c6@free-electrons.com> (raw)
In-Reply-To: <37cfb466-91a2-2434-24a4-dbd13ddfbc0f@openmailbox.org>
Hello,
On Wed, 9 Nov 2016 23:01:12 +0100, C?dric Marie wrote:
> Le 09/11/2016 ? 21:28, Thomas Petazzoni a ?crit :
> > We are definitely fine with supporting the meson build system in
> > Buildroot. The only reason we didn't merge the patches that were
> > proposed is because no package was using them. As soon as we have one
> > package using this build system in Buildroot, we will of course happily
> > merge patches adding support for it.
>
> The current gstreamer1 version in Buildroot is 1.8.3.
> The support for meson was added in 1.9.2. So upgrading gstreamer1 is
> certainly necessary before merging Meson support.
OK. However, isn't 1.9.x considered a "development" branch from the
point of view of GStreamer? At least for Glib/Gtk, the releases with
an odd are development ones if I remember correctly.
> >> By the way, is there any chance to give CMake package the possibility to
> >> use ninja backend? (which will also decrease build time of CMake
> >> packages)
> >
> > I don't know exactly what is involved in such a change, but in
> > principle, I don't see why we wouldn't accept that.
>
> Roughly, add dependency on ninja, add an option in cmake configure step
> (-G ninja) and use ninja instead of make in build and install commands.
OK, sounds good. We definitely want to make this optional for now I
believe.
> An option in "Build options" is definitely more appropriate. In the
> first place I had just added it in package/cmake/Config.in - which made
> it appear in target development tools.
> Then I will check with several existing CMake packages in buildroot.
Good;
> Regarding Meson integration, I think that Eric - if he's still
> interested in working on that - is the right person. I understand that
> his patches didn't provide pkg-meson.mk yet, but he proposed to do so.
> Am I right?
Having an infrastructure is not necessarily useful at the beginning. If
we have only one or two packages using meson, and its usage is pretty
simple, we can just as well do it directly in the packages themselves.
Like we're doing for qmake based packages today for example.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-11-09 22:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-09 15:26 [Buildroot] ninja/python-meson packages Cédric Marie
2016-11-09 20:28 ` Thomas Petazzoni
2016-11-09 22:01 ` Cédric Marie
2016-11-09 22:13 ` Thomas Petazzoni [this message]
2016-11-10 10:28 ` Thijs Vermeir
2016-11-10 20:49 ` Cédric Marie
2016-11-13 21:24 ` Arnout Vandecappelle
2016-11-10 4:42 ` Baruch Siach
2016-11-10 8:18 ` Thomas Petazzoni
2016-11-10 10:05 ` Cédric Marie
2017-03-22 12:53 ` Fatih Aşıcı
2017-07-03 15:17 ` Vicente Olivert Riera
2017-07-03 22:08 ` Peter Korsgaard
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=20161109231339.6a4830c6@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox