[Python-modules-team] Bug#800392: Bug#800392: Bug#800392: Bug#800392: python-numpy: FTBFS on powerpc due to test failure

Julian Taylor jtaylor.debian at googlemail.com
Wed Sep 30 22:54:24 UTC 2015


On 01.10.2015 00:41, Sandro Tosi wrote:
> On Wed, Sep 30, 2015 at 11:19 PM, Julian Taylor
> <jtaylor.debian at googlemail.com> wrote:
>> hm is __POWERPC__ not the right macro for that platform? that should
>> have worked
> 
> in numpy/core/include/numpy/npy_cpu.h i can find
> 
> #elif defined(__ppc__) || defined(__powerpc__) || defined(_ARCH_PPC)
>     /*
>      * __ppc__ is defined by gcc, I remember having seen __powerpc__ once,
>      * but can't find it ATM
>      * _ARCH_PPC is used by at least gcc on AIX
>      */
>     #define NPY_CPU_PPC
> 
> so maybe that's the one to use?
> 

those certainly should work, forgot about them.
you should be able to login to a powerpc porterbox and check.
cat test.c
__POWERPC__
gcc -E test.c



More information about the Python-modules-team mailing list