Re: [RFC PATCH 0/8] Meson build system [for libinput this time]

2016-12-08 Thread Peter Hutterer
On Thu, Dec 08, 2016 at 12:39:18PM +, Daniel Stone wrote: > Hey Peter, > > On 7 December 2016 at 22:33, Peter Hutterer wrote: > > On Tue, Nov 29, 2016 at 04:59:39PM +, Daniel Stone wrote: > >> [meson is like totally super duper] > > > > I tried the same for libinput, work available in > >

Re: [RFC PATCH 0/8] Meson build system [for libinput this time]

2016-12-08 Thread Daniel Stone
Hey Peter, On 7 December 2016 at 22:33, Peter Hutterer wrote: > On Tue, Nov 29, 2016 at 04:59:39PM +, Daniel Stone wrote: >> [meson is like totally super duper] > > I tried the same for libinput, work available in > https://github.com/whot/libinput/tree/wip/meson > I think I'm about 80% of th

Re: [RFC PATCH 0/8] Meson build system [for libinput this time]

2016-12-07 Thread Peter Hutterer
On Tue, Nov 29, 2016 at 04:59:39PM +, Daniel Stone wrote: > [meson is like totally super duper] I tried the same for libinput, work available in https://github.com/whot/libinput/tree/wip/meson I think I'm about 80% of the way there, with more testing needed and a few details being different/mi

Re: [RFC PATCH 0/8] Meson build system

2016-12-05 Thread Daniel Stone
Hi, On 5 December 2016 at 00:05, Peter Hutterer wrote: > On Fri, Dec 02, 2016 at 07:39:02PM +, Emil Velikov wrote: >> IIRC some have the philosophical reasoning alike "thou shall not need >> anything but autofoo and dependencies explicitly required" while >> others run things in an (network)

Re: [RFC PATCH 0/8] Meson build system

2016-12-04 Thread Peter Hutterer
On Fri, Dec 02, 2016 at 07:39:02PM +, Emil Velikov wrote: > On 2 December 2016 at 18:28, Daniel Stone wrote: > > Hey, > > > > On 2 December 2016 at 18:25, Emil Velikov wrote: > >> On 1 December 2016 at 15:24, Daniel Stone wrote: > >>> On 1 December 2016 at 14:11, Emil Velikov > >>> wrote:

Re: [RFC PATCH 0/8] Meson build system

2016-12-02 Thread Jan Engelhardt
On Friday 2016-12-02 19:28, Daniel Stone wrote: >On 2 December 2016 at 18:25, Emil Velikov wrote: >> >> The above seems like a strange mix of build tools and (runtime) >> dependencies. > >I was just trying to understand your 'distributions and/or builders >simply cannot use python/similar tools w

Re: [RFC PATCH 0/8] Meson build system

2016-12-02 Thread Emil Velikov
On 2 December 2016 at 18:28, Daniel Stone wrote: > Hey, > > On 2 December 2016 at 18:25, Emil Velikov wrote: >> On 1 December 2016 at 15:24, Daniel Stone wrote: >>> On 1 December 2016 at 14:11, Emil Velikov wrote: This does not mitigate the fact that meson/ninja _does_ have some cool

Re: [RFC PATCH 0/8] Meson build system

2016-12-02 Thread Daniel Stone
Hey, On 2 December 2016 at 18:25, Emil Velikov wrote: > On 1 December 2016 at 15:24, Daniel Stone wrote: >> On 1 December 2016 at 14:11, Emil Velikov wrote: >>> This does not mitigate the fact that meson/ninja _does_ have some cool >>> features and is noticeably faster _by default_. >>> Yet the

Re: [RFC PATCH 0/8] Meson build system

2016-12-02 Thread Emil Velikov
On 1 December 2016 at 15:24, Daniel Stone wrote: > Hey Emil, > > On 1 December 2016 at 14:11, Emil Velikov wrote: >> On 1 December 2016 at 11:46, Daniel Stone wrote: >>> On Intel, the configure stage (autogen / meson -Dfoo) is 14-15x >>> faster. A complete build is 3x faster, and rebuilding comp

Re: [RFC PATCH 0/8] Meson build system

2016-12-01 Thread Daniel Stone
Hey Emil, On 1 December 2016 at 14:11, Emil Velikov wrote: > On 1 December 2016 at 11:46, Daniel Stone wrote: >> On Intel, the configure stage (autogen / meson -Dfoo) is 14-15x >> faster. A complete build is 3x faster, and rebuilding component parts >> of the tree is 1.5-4x faster. The 'rebuild

Re: [RFC PATCH 0/8] Meson build system

2016-12-01 Thread Emil Velikov
On 1 December 2016 at 11:46, Daniel Stone wrote: > Hi, > > On 30 November 2016 at 10:00, Daniel Stone wrote: >> On 30 November 2016 at 01:02, Emil Velikov wrote: >>> NB: Everything but the Install test, varies ±0.2s across 3 consecutive >>> runs, thus it's been rounded to the closest 0.5s on ave

Re: [RFC PATCH 0/8] Meson build system

2016-12-01 Thread Daniel Stone
Hi, On 30 November 2016 at 10:00, Daniel Stone wrote: > On 30 November 2016 at 01:02, Emil Velikov wrote: >> NB: Everything but the Install test, varies ±0.2s across 3 consecutive >> runs, thus it's been rounded to the closest 0.5s on average. >> >> | Laptop | Laptop 2 |

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Kristian Høgsberg
Hi Daniel, Thanks for doing this! I share a lot of the same background - I've worked with autotools for many years, know them well and have also been hesitant to move away. I've recently ported a small personal project from autotools to meson and I found it very nice and easy to work with. It fee

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Silvan Jegen
On Wed, Nov 30, 2016 at 11:58 AM, Daniel Stone wrote: > Hi Silvan, > > On 30 November 2016 at 10:51, Silvan Jegen wrote: >> On Wed, Nov 30, 2016 at 11:00 AM, Daniel Stone wrote: >>> Ha, this isn't Skylake laptop vs. Broadwell laptop, this is my 14-core >>> Xeon vs. your Broadwell laptop! That th

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hi Silvan, On 30 November 2016 at 10:51, Silvan Jegen wrote: > On Wed, Nov 30, 2016 at 11:00 AM, Daniel Stone wrote: >> Ha, this isn't Skylake laptop vs. Broadwell laptop, this is my 14-core >> Xeon vs. your Broadwell laptop! That they're so different suggests >> that our configuration is pretty

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Silvan Jegen
Hi On Wed, Nov 30, 2016 at 11:00 AM, Daniel Stone wrote: > Hey Emil, > Thanks for the detailed reply! :) It's really interesting to hear your > perspective, especially with Mesa also using SCons. > > On 30 November 2016 at 01:02, Emil Velikov wrote: >> On 29 November 2016 at 20:50, Daniel Stone

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hi, On 30 November 2016 at 10:28, Pekka Paalanen wrote: > On Wed, 30 Nov 2016 10:00:40 + Daniel Stone wrote: >> Yeah, generally I agree. That was my point about GNOME/GStreamer also >> being conservative with build systems: neither of us have jumped over >> to any new and fancy build systems

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Pekka Paalanen
On Wed, 30 Nov 2016 10:00:40 + Daniel Stone wrote: > Hey Emil, > Thanks for the detailed reply! :) It's really interesting to hear your > perspective, especially with Mesa also using SCons. > > On 30 November 2016 at 01:02, Emil Velikov wrote: > > Please don't get me wrong, autohell^Wautot

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Pekka Paalanen
On Wed, 30 Nov 2016 10:54:11 +0100 (CET) Jan Engelhardt wrote: > That is where modern build systems could improve on. But instead they > throw *everything* overboard, even though Makefile.am is reusable: > minus custom rules, it is just a set of key-value pairs and > lazy-evaluated variables. Hi

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hey Emil, Thanks for the detailed reply! :) It's really interesting to hear your perspective, especially with Mesa also using SCons. On 30 November 2016 at 01:02, Emil Velikov wrote: > On 29 November 2016 at 20:50, Daniel Stone wrote: >>> As you know better than me the actual speed increase isn'

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Pekka Paalanen
On Wed, 30 Nov 2016 09:21:29 + Daniel Stone wrote: > Hi Pekka, > > On 30 November 2016 at 08:54, Pekka Paalanen wrote: > > On Wed, 30 Nov 2016 01:02:13 + Emil Velikov > > wrote: > >> As we build (simple `make') binaries are linked against the in-tree > >> DSO(s). Upon `make install'

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Jan Engelhardt
On Wednesday 2016-11-30 09:54, Pekka Paalanen wrote: >I'm looking forward to hearing your war stories on trying to beat sense >into autotools. I would never dare even approach it. Maybe it's FUD you >can show to be false, but I kind of doubt it. > >One huge convenience of Meson is (the documentati

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hi Pekka, On 30 November 2016 at 08:54, Pekka Paalanen wrote: > On Wed, 30 Nov 2016 01:02:13 + Emil Velikov > wrote: >> As we build (simple `make') binaries are linked against the in-tree >> DSO(s). Upon `make install' autotools/libtool relinks each binary. The >> latter of which can be qui

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Daniel Stone
Hi Jan, On 29 November 2016 at 21:42, Jan Engelhardt wrote: > On Tuesday 2016-11-29 17:59, Daniel Stone wrote: >>This patchset provides a working port to Meson, a Python-based build >>system with a Ninja backend. > > Do you have this available in a convenient-to-download git repo > somewhere? I

Re: [RFC PATCH 0/8] Meson build system

2016-11-30 Thread Pekka Paalanen
On Wed, 30 Nov 2016 01:02:13 + Emil Velikov wrote: > On 29 November 2016 at 20:50, Daniel Stone wrote: > > Hey Emil, > > > > On 29 November 2016 at 20:41, Emil Velikov > > wrote: > >> My voice doesn't carry much weight on wayland-devel still I think it > >> will bring some nice food for

Re: [RFC PATCH 0/8] Meson build system

2016-11-29 Thread Emil Velikov
On 29 November 2016 at 20:50, Daniel Stone wrote: > Hey Emil, > > On 29 November 2016 at 20:41, Emil Velikov wrote: >> My voice doesn't carry much weight on wayland-devel still I think it >> will bring some nice food for thought. >> >> As you know better than me the actual speed increase isn't in

Re: [RFC PATCH 0/8] Meson build system

2016-11-29 Thread Jan Engelhardt
On Tuesday 2016-11-29 17:59, Daniel Stone wrote: >This patchset provides a working port to Meson, a Python-based build >system with a Ninja backend. Do you have this available in a convenient-to-download git repo somewhere? ___ wayland-devel mailing li

Re: [RFC PATCH 0/8] Meson build system

2016-11-29 Thread Daniel Stone
Hey Emil, On 29 November 2016 at 20:41, Emil Velikov wrote: > My voice doesn't carry much weight on wayland-devel still I think it > will bring some nice food for thought. > > As you know better than me the actual speed increase isn't in using > Meson, it's due to ninja. > > If one is to use (wri

Re: [RFC PATCH 0/8] Meson build system

2016-11-29 Thread Emil Velikov
Hi Dan, My voice doesn't carry much weight on wayland-devel still I think it will bring some nice food for thought. As you know better than me the actual speed increase isn't in using Meson, it's due to ninja. If one is to use (write?) make backend for Meson the results wouldn't be that differen

[RFC PATCH 0/8] Meson build system

2016-11-29 Thread Daniel Stone
Hi all, Whilst working on the atomic series, and the recent review spree, I started to really lose patience with how incredibly slow our build system is. This patchset provides a working port to Meson, a Python-based build system with a Ninja backend. Whilst autotools runs a combination of shell a