py26-numpy with veclib

vincent habchi vince at macports.org
Wed Oct 21 20:49:25 PDT 2009


Hi,

> Is it possible to build py26-numpy against veclib with macports?
>
> If linked against veclib the output should look like this:
>
>>>> numpy.show_config()
> lapack_opt_info:
>    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>    extra_compile_args = ['-msse3']
>    define_macros = [('NO_ATLAS_INFO', 3)]
>
> blas_opt_info:
>    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>    extra_compile_args = ['-msse3',
> '-I/System/Library/Frameworks/vecLib.framework/Headers']
>    define_macros = [('NO_ATLAS_INFO', 3)]

My config shows this:

Python 2.6.3 (r263:75183, Oct 13 2009, 08:46:50)
[GCC 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2118)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> numpy.show_config ()
lapack_opt_info:
     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
     extra_compile_args = ['-faltivec']
     define_macros = [('NO_ATLAS_INFO', 3)]

blas_opt_info:
     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
     extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/ 
vecLib.framework/Headers']
     define_macros = [('NO_ATLAS_INFO', 3)]

 >>>

Note that I am on x86_64, so that looks a bit strange.
Vincent


More information about the macports-users mailing list