From: "Zbigniew Jędrzejewski-Szmek" <zbyszek@in.waw.pl>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: meson build-system
Date: Tue, 16 Feb 2021 20:19:25 +0000 [thread overview]
Message-ID: <20210216201925.GW7348@in.waw.pl> (raw)
In-Reply-To: <20210216180030.a3pdnbcm3ps6dqmi@ws.net.home>
On Tue, Feb 16, 2021 at 07:00:30PM +0100, Karel Zak wrote:
>
> Hi all,
>
> A year ago Zbigniew (CC:) implemented meson build-system as a second
> build system for util-linux. Today I finally updated it and pushed to
> the topic/meson branch on github. You can try it:
>
> git checkout -f topic/meson
> meson build
> ninja -C build
> ls build/
>
> No panic, we are going to keep autotools as our primary build-system
> for the next years :-)
Don't underestimate the dark side, Karel!
9s vs 41s (and an even bigger ratio on partial builds) is going to be
a strong pull.
> The goal is to try to provide an alternative, make it more stable,
> and maybe in future use it. The current util-linux meson configuration is
> probably not mature enough to be used as a build-system for end-users and
> downstream distributions, but it seems as a nice alternative for
> developers, it's faster and it produces real binaries rather than
> libtool scripts.
Eh, I'd say that at this point meson (despite occasional small tweaks
required) is more stable than autotools. Right now autotools is stable
mostly because it doesn't change. With the upcoming update to
autoconf-2.71 that era is coming to an end.
> $ git clean -xdf
> $ time ( meson build; ninja -C build )
> real 0m9.093s
> user 0m12.797s
> sys 0m5.232s
>
> $ git clean -xdf
> $ time ( ./autogen.sh; ./configure; make -j )
> real 0m41.563s
> user 1m52.681s
> sys 0m30.346s
>
> All the meson configuration is completely independent on autotools or
> another code in the package. I'll probably merge it to the master
> branch ASAP to make it easy to use for contributors.
>
> Comments & objections?
Zbyszek
next prev parent reply other threads:[~2021-02-16 20:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-16 18:00 meson build-system Karel Zak
2021-02-16 20:19 ` Zbigniew Jędrzejewski-Szmek [this message]
2021-02-17 8:00 ` Karel Zak
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=20210216201925.GW7348@in.waw.pl \
--to=zbyszek@in.waw.pl \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox