Hi David, On 28.10.2011 13:05, David Chisnall wrote:> I disagree there. Perl is pretty much guaranteed to be installed on any UNIXish system. Even FreeBSD, which has removed it from the base system, tends to install the Perl package by default. In contrast, a lot of the machines I use don't have Python installed. I need to install it if I'm doing LLVM development because it's needed for the tests, but needing it just to build seems like massive overkill.It is possible that you are right about the overall index of "presence". Just to mention that in Fedora derivatives (RedHat, CentOS, maybe 35-50% of Linux dev stations - I don't know) Python is guaranteed because of yum (the package manager).> > That said, if the information required for the build is going to be made explicit, maybe this isn't such a problem, as other tools can be written to parse it and run the build.Absolutely - once the generators are prototyped and tested in Python, if current Perl (presence) > Python's, they can be easily ported to Perl. Kind Regards, Alek
David A. Greene
2011-Nov-01 19:26 UTC
[LLVMdev] [cfe-dev] RFC: Upcoming Build System Changes
Alek Paunov <alex at declera.com> writes:>> That said, if the information required for the build is going to be >> made explicit, maybe this isn't such a problem, as other tools can be >> written to parse it and run the build. > > Absolutely - once the generators are prototyped and tested in Python, if > current Perl (presence) > Python's, they can be easily ported to Perl.No, not really. They're completely different. I much prefer Python over Perl. Python is readable. -Dave
On 11/01/2011 09:26 PM, David A. Greene wrote:> Alek Paunov <alex at declera.com> writes: > >>> That said, if the information required for the build is going to be >>> made explicit, maybe this isn't such a problem, as other tools can be >>> written to parse it and run the build. >> >> Absolutely - once the generators are prototyped and tested in Python, if >> current Perl (presence) > Python's, they can be easily ported to Perl. > > No, not really. They're completely different. I much prefer Python > over Perl. Python is readable.Will that Python/Perl tool be required to build releases? Or is it something needed to generate/update the dependencies (like the current GenLibDeps thingy), but once the dependencies are generated the Python/Perl tool is no longer required? (i.e. for building releases, using a pre-generated dependencies file). Best regards, --Edwin
Hi David, On 01.11.2011 21:26, David A. Greene wrote:> No, not really. They're completely different. I much prefer Python > over Perl. Python is readable.I know, since 1999 I personally never used Perl anymore (also I said IF - fair enough, right?), but the emphasis of the discussion should not be ? vs Python (or other implementation details at this stage), but: Would like the LLVM/Clang main contributors (aka the Compiler Guys) and key-users prefer the clear SOURCE-CODE for building related knowledge, expressed in independent and project-tailored DSL and therefore translated and optimized for several BACKEND build systems (native or not so), like the LLVM itself or not (e.g. because CMake + already invested 7 KLOC are-at/can-be-enhanced-to sufficient level). Kind Regards, Alek