[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pypy-dev
Subject:    Re: [pypy-dev] Parallel translation?
From:       "Amaury Forgeot d'Arc" <amauryfa () gmail ! com>
Date:       2010-01-10 14:49:15
Message-ID: e27efe131001100649x67083a72s441439d956997294 () mail ! gmail ! com
[Download RAW message or body]

Hello,

2010/1/9  <exarkun@twistedmatrix.com>:
> On 5 Dec 2009, 04:49 pm, fijall@gmail.com wrote:
>> I guess the original idea was to have a translation option that is
>> passed as -j flag to make, so one can specify what number of jobs he
>> wants, instead of trying to guess it automatically.
>
> I poked around on this front a bit.  I couldn't find any code in PyPy which
> invokes make.  I did find
> pypy.translator.platform.distutils_platform.DistutilsPlatform._build,
> though.  This seems to be where lists of C files are sent for compilation.
>  Is that right?

PyPy does generate a makefile (gen_makefile() in
http://codespeak.net/svn/pypy/trunk/pypy/translator/c/genc.py )

but it is not used in all configurations:
In the same file, see the call to execute_makefile().
-Ojit uses the makefile, though.

-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic