Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] ninja/python-meson packages
@ 2016-11-09 15:26 Cédric Marie
  2016-11-09 20:28 ` Thomas Petazzoni
  2017-03-22 12:53 ` Fatih Aşıcı
  0 siblings, 2 replies; 13+ messages in thread
From: Cédric Marie @ 2016-11-09 15:26 UTC (permalink / raw)
  To: buildroot

Hi,

Regarding python-meson package that was proposed here:
http://lists.busybox.net/pipermail/buildroot/2016-June/163437.html

>> However, I could provide a real package infrastructure named 
>> "meson-package",
>> but as stated in the discussion about adding support for Cargo (the 
>> Rust
>> package manager), to provide such infrastructure, at least one package 
>> using
>> it should also be provided (it is sensible to have a working example 
>> of
>> the infrastructure).

> I would not say one, but at least 4-5 packages, with a pretty good
> confidence that more packages would be added later on.

Gstreamer has added Meson as an alternative build system (to Autotools) 
since August 2016:

https://cgit.freedesktop.org/gstreamer/gstreamer/commit/meson.build?id=b2f9808722a0254acba17ef98a612a2792184e12

And I suppose that other projects are likely to switch... The decrease 
of build time is really interesting compared to Autotools, CMake, and 
even CMake with ninja backend.

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 have local modifications of my buildroot tree that achieve that, but 
I'm not sure about the right way to propose it. I have added an option 
(BR2_PACKAGE_CMAKE_NINJA) but it appears in target packages > 
Development tools, while it is not intended for the target. Would it be 
a better idea to create a specific package infra (pkg-cmake-ninja.mk)?
Or maybe it is just not useful... I don't know whether the user really 
needs to choose between two different backends, while the result is 
supposed to be the same (only the build time will differ).

NB: Comparison of build time can be found here:
https://github.com/mesonbuild/meson/wiki/Simple%20comparison

-- 
C?dric

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-07-03 22:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox