On Jun 30, 2009, at 3:25 AM, Stefan Behnel wrote:

> Robert Bradshaw wrote:
>> On Jun 29, 2009, at 5:45 AM, Dag Sverre Seljebotn wrote:
>>> do you know if e.g. Sage builds are IO bound?
>>
>> Not sure, but that's certainly a big component.
>
> Now that you mention it, how do you parallelise the builds anyway?
> (assuming that you do that)

We walk through the list of extensions in setup.py before passing  
them onto distutils (running cython on them manually, and replacing  
the .pyx files in the source list with .c(pp)). We then do our own  
dependancy checking, and divide them up into n lists, and fork n  
threads in Python.

(I didn't write the forking part, so that's just the big picture.)  
It's all in http://hg.sagemath.org/sage-main/file/d2d8c2f97d32/setup.py

- Robert
  
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to