[Numpy-discussion] Numpy 1.4.1 fails to build on (Debian) alpha and powepc

David Cournapeau cournape@gmail....
Tue Jul 20 12:09:41 CDT 2010


On Tue, Jul 20, 2010 at 4:21 PM, Sandro Tosi <morph@debian.org> wrote:
> Hi David,
>
> On Tue, Jul 20, 2010 at 10:34, David Cournapeau <cournape@gmail.com> wrote:
>>> yes, I see it at r8510
>>
>> I quickly adapted the code from the Sun math library for the linux ppc
>> long double format. Let me know if it works (if possible, you should
>> run the test suite).
>
> thanks for working on it :)
>
> I checked out numpy at r8511 and built it on powerpc, attached the
> buildlog (it crashed at doc generation, but the setup.py build were
> done before, and went fine).
>
> I've python2.x setup.py install --prefix install/ and execute the
> tests from there with:
>
> ~/numpy/install$ PYTHONPATH=lib/python2.6/site-packages/ python2.6 -c
> "import numpy; print numpy.test()" &> ../testlog_2.6
> ~/numpy/install$ PYTHONPATH=lib/python2.5/site-packages/ python2.5 -c
> "import numpy; print numpy.test()" &> ../testlog_2.5
>
> attached the testlogs too: there are a couple of failures.

The failures seem to be related to the long double not conforming to
IEEE754 standard on linux ppc. I am not sure how to deal with them -
maybe raising a warning if the user uses long double, as its usage
will always be flaky on that platform anyway (numpy assumes IEEE
754-like support)

David


More information about the NumPy-Discussion mailing list