[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 0/3] Automatically convert configure options to meson bui
Re: [RFC PATCH 0/3] Automatically convert configure options to meson build options
Wed, 16 Sep 2020 15:15:16 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0
On 16/09/20 13:25, Stefan Hajnoczi wrote:
>> No, only developers need jq and only if they add configure options.
>> Using Python would certainly be possible, though probably it wouldn't be
>> a one-liner as for jq.
> I see. Avoiding the dependency would be nice but only if the alternative
> is reasonable.
I guess this counts as reasonable:
python3 -c 'import json, sys; print(
json.dumps(sorted([x for x in json.loads(sys.stdin.read())
if x["section"] == "user"], key=lambda x: x["name"]),
- Re: [PATCH 3/3] configure: automatically parse command line for meson -D options, (continued)