[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: minimal "zero conf" build dockerfiles for fedora:latest and alpine:l

From: Paolo Bonzini
Subject: Re: minimal "zero conf" build dockerfiles for fedora:latest and alpine:latest
Date: Wed, 13 Jan 2021 15:35:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

On 13/01/21 11:29, Philippe Mathieu-Daudé wrote:
On 1/13/21 11:09 AM, Gerd Hoffmann wrote:

I don't like Perl really, but there's a chicken-and-egg problem between
detecting Python and using it to print the configure help script.  For
configure-time tasks, Perl has the advantage that "#! /usr/bin/env perl"
just works.

Assuming perl is actually installed, the world seems to shift to python.
On a minimal fedora install python is present but perl is not ...

On the other hand git depends on perl, so it is probably pretty hard to
find a developer workstation without perl installed, so maybe that
doesn't matter much for the time being.

There is also the new configure-parse-buildoptions.pl script Paolo
wants to add:

Yes, that's what I was referring to. shaderinclude.pl could be converted easily to Python, and I do support in general moving from Perl to Python. For configure-parse-buildoptions.pl I viewed Perl as more of a necessary evil.

In the case of scripts/tap-driver.pl, the plan is to use "meson test" instead as soon as it becomes featureful enough. I have already switched my private branch to it, the upstream meson work is tracked at https://github.com/mesonbuild/meson/issues/7830.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]