[SciPy-user] NumPy On OpenBSD
LATORNELL, Doug
Doug.LATORNELL at mdsinc.com
Tue Jan 10 20:57:13 EST 2006
#elif defined(sun) || defined(__OpenBSD__)
is the ticket! Using defined (OpenBSD) doesn't work
IsoInfoCompute:doug$ python
Python 2.4.1 (#1, Sep 3 2005, 13:08:59)
[GCC 3.3.5 (propolice)] on openbsd3
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.test(10)
Found 3 tests for numpy.distutils.misc_util
Found 2 tests for numpy.core.umath
Found 3 tests for numpy.dft.helper
Found 8 tests for numpy.lib.arraysetops
Found 42 tests for numpy.lib.type_check
Found 9 tests for numpy.lib.twodim_base
Found 11 tests for numpy.core.multiarray
Found 4 tests for numpy.lib.getlimits
Found 21 tests for numpy.core.ma
Found 6 tests for numpy.core.defmatrix
Found 33 tests for numpy.lib.function_base
Found 6 tests for numpy.core.records
Found 4 tests for numpy.lib.index_tricks
Found 44 tests for numpy.lib.shape_base
Found 0 tests for __main__
........................................................................
........................................................................
......................................................
----------------------------------------------------------------------
Ran 198 tests in 1.596s
OK
<unittest.TextTestRunner object at 0x7d9015ac>
>>>
Thanks for the help, Travis!
Doug
> -----Original Message-----
> From: scipy-user-bounces at scipy.net
> [mailto:scipy-user-bounces at scipy.net] On Behalf Of Travis Oliphant
> Sent: January 10, 2006 16:42
> To: scipy-user at scipy.org
> Subject: Re: [SciPy-user] NumPy On OpenBSD
>
> LATORNELL, Doug wrote:
> > wrong tree completely? The problem is that I don't know what magic
> > word I should add as an OR clause to
> >
> > #elif defined(sun)
> >
> > to test my guess. Where are the various platform names that are
> > checked in unfuncobject.h defined?
> >
>
> I've also seen __FreeBSD__ and __OpenBSD__ used. You could
> try those as well.
>
> -Travis
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>
This email and any files transmitted with it may contain privileged or confidential information and may be read or used only by the intended recipient. If you are not the intended recipient of the email or any of its attachments, please be advised that you have received this email in error and any use, dissemination, distribution, forwarding, printing or copying of this email or any attached files is strictly prohibited. If you have received this email in error, please immediately purge it and all attachments and notify the sender by reply email or contact the sender at the number listed.
More information about the SciPy-User
mailing list