The proposed patch adds an option to py-scipy port to link against openblas (similar to py-numpy)
Unit Tests Skipped
With the proposed patch, the ATLAS option is shown twice.
I suggest the hereunder patch:
- Makefile.orig 2015-03-22 15:53:07.665908000 +0100
+++ Makefile 2015-03-22 15:55:54.484720000 +0100
@@ -29,7 +29,7 @@
-OPTIONS_DEFINE= ATLAS DOCS SUITESPARSE
+OPTIONS_DEFINE= DOCS SUITESPARSE
OPTIONS_SINGLE_BLASLIB= ATLAS BLAS OPENBLAS
Actually, after more testings, it appears that these BLAS options are ignored within science/py-scipy: the build mechanism uses the file /usr/local/lib/python2.7/site-packages/numpy/distutils/site.cfg installed by math/py-numpy, so that it will always be linked with the libraries selected for Numpy.
How to check it:
- build and install math/py-numpy with some BLAS option;
- select another option for science/py-scipy
- check the output of `make configure'
- go on with the build
- check the output of
Since PYNUMPY is a build- and run- dependency for py-scipy, we could anyway remove these options and these dependencies on Atlas / Blas / Openblas.