On 01/23/2012 01:25 PM, Stefan Weil wrote:
Am 23.01.2012 20:19, schrieb Jan Kiszka:
On 2012-01-23 20:16, Stefan Weil wrote:
Am 23.01.2012 19:38, schrieb Jan Kiszka:

[snip]
What about replacing the whole script by a python script?
That would save about 6 more forks :-)

I think we have no python dependency in the build system yet - while we
have for awk. That was also the original reason to go for a shell script.

If the situation changed, I would not vote against python, for sure.

Jan

We do. Even configure will fail now without Python:

if ! has $python; then
echo "Python not found. Use --python=/path/to/python"
exit 1
fi

QEMU depends on Python = Python 2 for QAPI, tracing and maybe more.
See scripts/*.py.

I've been thinking that we could potentially rewrite a large chunk (all?) of configure in python too since we have such a hard dependency now.

Regards,

Anthony Liguori


Stefan




Reply via email to