[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build sys
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build system |
Date: |
Thu, 27 Jun 2019 13:50:45 +0100 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
On Thu, Jun 27, 2019 at 02:23:52PM +0200, Markus Armbruster wrote:
> Paolo Bonzini <address@hidden> writes:
> > But for now, since rules are
> > written half in meson and half in make, ninja2make seems the most
> > transparent way to integrate the two.
> >
> >> Part of the downside of our current build system is that although it
> >> uses make, the usage is wierd and QEMU specific structure. It would
> >> be a shame to pick meson and then again use it is a way that is wierd
> >> and QEMU specific.
> >
> > I agree, this is why it's important to have at least a standard meson.build.
> >
> > Some knowledge of config-host.mak is needed, because meson.build uses
> > declare_dependency() instead of dependency() to link with libraries that
> > were already found by configure, but that's it.
>
> Ignorant question: could the switch to Meson enable doing less in
> configure? It's big and sloooow.
At a conceptual level meson is supposed to take over the role of both
configure and automake, so you have a single domain specific language
covering all aspects of your build system (though sometimes needs some
external python helper scripts to cover missing features in meson).
IOW, in a proper conversion, I'd expect configure to go away. I can
imagine that being one of the last steps in QEMU's conversion though
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [Qemu-devel] [PATCH 7/7] rdmacm-mux: convert to Meson, (continued)
- [Qemu-devel] [PATCH 7/7] rdmacm-mux: convert to Meson, Paolo Bonzini, 2019/06/10
- [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build system, Paolo Bonzini, 2019/06/10
- Re: [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build system, Markus Armbruster, 2019/06/26
- Re: [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build system, Daniel P . Berrangé, 2019/06/27
- Re: [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build system, Daniel P . Berrangé, 2019/06/27
- Re: [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build system, Gerd Hoffmann, 2019/06/27
- Re: [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build system, Paolo Bonzini, 2019/06/27
- Re: [Qemu-devel] [PATCH 3/7] configure: integrate Meson in the build system, Daniel P . Berrangé, 2019/06/27
Re: [Qemu-devel] [RFC PATCH 0/7] Proof of concept for Meson integration, no-reply, 2019/06/10
Re: [Qemu-devel] [RFC PATCH 0/7] Proof of concept for Meson integration, no-reply, 2019/06/10
Re: [Qemu-devel] [RFC PATCH 0/7] Proof of concept for Meson integration, no-reply, 2019/06/10
Re: [Qemu-devel] [RFC PATCH 0/7] Proof of concept for Meson integration, Markus Armbruster, 2019/06/27