[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 0/3] Automatically convert configure options to meson bui
From: |
Paolo Bonzini |
Subject: |
Re: [RFC PATCH 0/3] Automatically convert configure options to meson build options |
Date: |
Sun, 13 Sep 2020 15:57:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 13/09/20 12:15, 罗勇刚(Yonggang Luo) wrote:
>
> I am confusing about this? we were converting configure to meson,
> and python is a force dependencies, why we need rewrite the script in
> Perl? If we wanna build qemu, the first thing we need to install is
> python+meson, so there is no need convert to Perl or bash script. And
> perl/bash will incur msys2/mingw user, the ideal way is we only
> depends on python+meson to building qemu
The main issue is that the Python interpreter is any of python, python3,
python3.5. Furthermore Meson's shebang python is not necessarily the
first "python3" in the path.
Perl is pretty much always "/usr/bin/env perl". Note that Perl is
already needed to run "make check". When/if it will be possible to only
build QEMU with python+meson there will be no configure script anymore,
so Perl is a reasonable choice for parsing the configure command line
options. It wasn't my first choice, in fact this series includes a
Python implementation, but it does have some advantages.
Paolo
- [RFC PATCH 0/3] Automatically convert configure options to meson build options, Paolo Bonzini, 2020/09/13
- [PATCH 1/3] configure: quote command line arguments in config.status, Paolo Bonzini, 2020/09/13
- [PATCH 2/3] configure: early test for Python, Paolo Bonzini, 2020/09/13
- [PATCH 3/3] configure: automatically parse command line for meson -D options, Paolo Bonzini, 2020/09/13
- Re: [RFC PATCH 0/3] Automatically convert configure options to meson build options, Yonggang Luo, 2020/09/13
- Re: [RFC PATCH 0/3] Automatically convert configure options to meson build options,
Paolo Bonzini <=
- Re: [RFC PATCH 0/3] Automatically convert configure options to meson build options, Daniel P . Berrangé, 2020/09/14
- Re: [RFC PATCH 0/3] Automatically convert configure options to meson build options, Stefan Hajnoczi, 2020/09/14