[pypy-dev] Parallel translation?
Amaury Forgeot d'Arc
amauryfa at gmail.com
Sun Jan 10 15:49:15 CET 2010
Hello,
2010/1/9 <exarkun at twistedmatrix.com>:
> On 5 Dec 2009, 04:49 pm, fijall at 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
More information about the Pypy-dev
mailing list