David Cournapeau | 5 Oct 10:25

Merged clean_math_config branch

Hi there,

    Just to mention that I merged back my changes from the
clean_math_config branch into trunk. The main point of the branch is to
clean our math configuration. If this causes problems, please report it.
I  built and tested on mac os x, linux 32 bits and windows (both mingw32
and VS 2003). It breaks windows 64 bits ATM, but this will be fixed
soon. The numscons built is broken as well, but the missing features are
already backported from numpy.distutils to numscons; a new working
version of numscons is about to be released.

Some details for the record:
    - more code is platform independent, with platform specifics math
functions at one location
    - instead of platform-specific heuristics, every function is tested
at the configuration stage. Some distutils.command.config
functionalities were improved to make this process as fast as before for
relatively standard-compliant platforms (mac os X and linux are as fast
to build as before).
    - the distutils.command.config.check_func can now detect MS
intrinsics (functions which are not visible without optimization flags).
    - should also be more robust for non standard platforms (MS
compilers, mostly).

In the process, a few hundred lines of C code have been removed.
cheers,

David
Jarrod Millman | 5 Oct 23:57
Favicon

Re: Merged clean_math_config branch

On Sun, Oct 5, 2008 at 1:25 AM, David Cournapeau
<david <at> ar.media.kyoto-u.ac.jp> wrote:
>    Just to mention that I merged back my changes from the
> clean_math_config branch into trunk. The main point of the branch is to
> clean our math configuration. If this causes problems, please report it.
> I  built and tested on mac os x, linux 32 bits and windows (both mingw32
> and VS 2003). It breaks windows 64 bits ATM, but this will be fixed
> soon. The numscons built is broken as well, but the missing features are
> already backported from numpy.distutils to numscons; a new working
> version of numscons is about to be released.

Excellent.  Thanks for working on this.

--

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
Travis E. Oliphant | 6 Oct 00:17

Re: Merged clean_math_config branch

David Cournapeau wrote:
> Hi there,
>
>     Just to mention that I merged back my changes from the
> clean_math_config branch into trunk. The main point of the branch is to
> clean our math configuration. If this causes problems, please report it.
> I  built and tested on mac os x, linux 32 bits and windows (both mingw32
> and VS 2003). It breaks windows 64 bits ATM, but this will be fixed
> soon. The numscons built is broken as well, but the missing features are
> already backported from numpy.distutils to numscons; a new working
> version of numscons is about to be released.
>   
This is a really good thing and a lot of work.  Thank you, David for 
doing all the heavy lifting.

-Travis
David Cournapeau | 6 Oct 18:02

Re: Merged clean_math_config branch

On Mon, Oct 6, 2008 at 7:17 AM, Travis E. Oliphant
<oliphant <at> enthought.com> wrote:
>>
> This is a really good thing and a lot of work.  Thank you, David for
> doing all the heavy lifting.

Thanks. That's really a first step, though, as the long-term goal is
to start support of dynamically loaded optimzed SIMD (SSE and co)
code.

cheers,

David

Gmane