[SciPy-dev] cephes on Mac OS X ppc64?

David Cournapeau david@silveregg.co...
Wed Feb 17 18:34:32 CST 2010


David Warde-Farley wrote:
> On 17-Feb-10, at 3:10 PM, Robert Kern wrote:
> 
>> I think we test each architecture with the compiler(s) before adding
>> them to the list. It is possible that either your gcc or your gfortran
>> does not support ppc64 or we are failing to recognize that it does. Or
>> we might've dropped support for it. I think David Cournapeau was the
>> last person to touch the architecture selection code in
>> numpy.distutils.
> 
> Hmm. Interesting. Doing some digging in the build log I encountered  
> stuff like this:
> 
> /usr/local/bin/gfortran -Wall -arch ppc -arch i686 -arch x86_64 -Wall - 
> undefined dynamic_lookup -bundle build/temp.macosx-10.5-universal-2.6/ 
> build/src.macosx-10.5-universal-2.6/specfunmodule.o build/ 
> temp.macosx-10.5-universal-2.6/build/src.macosx-10.5-universal-2.6/ 
> fortranobject.o -Lbuild/temp.macosx-10.5-universal-2.6 -lsc_specfun - 
> lgfortran -o build/lib.macosx-10.5-universal-2.6/special/specfun.so

If you look at numpy/distutils/fcompiler/gnu.py, the list of tested arch 
does not contain ppc64. I don't know why it is missing here; can you try 
rebuilding scipy with ppc64 added as a target in the function 
_universal_flags ?

David


More information about the SciPy-Dev mailing list