[SciPy-dev] More General BSD Support in ufuncobject.h

LATORNELL, Doug Doug.LATORNELL at mdsinc.com
Mon Mar 6 20:21:46 EST 2006


For what it's worth...

I just svn updated and rebuilt my NumPy installation on my OpenBSD
machine.  Before building I changed the defined() at line 251 of
ufuncobject.h:

	-#elif defined(sun) || defined(__OpenBSD__) ||
defined(__FreeBSD__)
	+#elif defined(sun) || defined(__BSD__)

Numpy builds, installs, and tests fine (see below).

This change *should* work for all of the BSD OSs (OpenBSD, FreeBSD,
NetBSD, DragonflyBSD, ...), though I have only tested it on OpenBSD 3.8.

Doug

=========== Post-install test =============

In [1]: import numpy

In [2]: numpy.__version__
Out[3]: '0.9.6.2204'

In [4]: numpy.test()
  Found 11 tests for numpy.core.umath
  Found 8 tests for numpy.lib.arraysetops
  Found 29 tests for numpy.core.ma
  Found 1 tests for numpy.lib.ufunclike
  Found 1 tests for numpy.lib.polynomial
  Found 6 tests for numpy.core.records
  Found 14 tests for numpy.core.numeric
  Found 4 tests for numpy.distutils.misc_util
  Found 3 tests for numpy.lib.getlimits
  Found 30 tests for numpy.core.numerictypes
  Found 9 tests for numpy.lib.twodim_base
  Found 1 tests for numpy.core.oldnumeric
  Found 44 tests for numpy.lib.shape_base
  Found 4 tests for numpy.lib.index_tricks
  Found 42 tests for numpy.lib.type_check
  Found 3 tests for numpy.dft.helper
  Found 87 tests for numpy.core.multiarray
  Found 8 tests for numpy.core.defmatrix
  Found 33 tests for numpy.lib.function_base
  Found 0 tests for __main__
........................................................................
........................................................................
........................................................................
........................................................................
..................................................
----------------------------------------------------------------------
Ran 338 tests in 0.886s

OK
Out[5]: <unittest.TextTestRunner object at 0x8467f20c>


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-Dev mailing list