[llvm-dev] Python build dependency in LLVM and/or clang?

via llvm-dev
Sun, 07 Jul 2019 22:19:38 -0000

> -----Original Message-----
> From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of
Joerg
> Sonnenberger via llvm-dev
> Sent: Friday, July 05, 2019 8:01 AM
> To: llvm-dev at lists.llvm.org
> Subject: Re: [llvm-dev] Python build dependency in LLVM and/or clang?
>
> On Fri, Jul 05, 2019 at 10:43:12AM +0000, Simon Tatham via llvm-dev wrote:
> > But before I do that, I wanted to check whether there would be any
> > objection on grounds of build dependencies. Is it acceptable to
require
> Python
> > as part of the normal build process for LLVM?
>
> At the moment, Python is not truely necessary for building LLVM. The
> cmake build system depends on it for some parts, but that's all. I
would
> be very sad for that to change.

Technically true, but Python is required to run the 'lit' tests which is
a pretty fundamental operation within LLVM. I can't imagine a situation
where I would want to run a build without running check-whatever after.
So really, you do have to have Python already.
--paulr

>
> Joerg
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev