David Cournapeau, 02.02.2010 10:06:
> On Tue, Feb 2, 2010 at 5:06 PM, Stefan Behnel wrote:
>>
>> I actually tried to use tcc for running the test suite a while ago, but it
>> crashed for me. Usually, dactivating most optimisations with "gcc -O1"
>> speeds up the test runs by quite a bit, and might also drop the memory
>> requirement a little.
> 
> You may want to try clang from the llvm project. It compiles most code
> fine, and is significantly faster than gcc (the memory requirement,
> especially for c++, are even more significant). It is relatively easy
> to build (at least llvm 2.6), and is even included on mac os x (in
> xcode 3.1).

Cool! There's a ready-made Debian package for it:

http://packages.debian.org/sid/clang

Works perfectly on my Ubuntu Karmic x86_64 system. Without any optimisation
options, the C-only cython-devel test suite runs in 156 seconds (2:36) on
my machine, compared to 191 (3:11) with gcc. Not the kind of difference
that lets you start running it from a commit hook, but certainly noticeable.

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

Reply via email to