[Bug 1297514] Review Request: python3-numpy - A fast multidimensional array facility for Python 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1297514



--- Comment #2 from Denis Fateyev <denis@xxxxxxxxxxx> ---
There is atlas, blas, lapack etc. stuff presented in the spec:

------------------------
# Atlas 3.10 library names
cat >> site.cfg <<EOF
[atlas]
library_dirs = %{_libdir}/atlas
atlas_libs = satlas
EOF


%build
env ATLAS=%{_libdir} BLAS=%{_libdir} \
    LAPACK=%{_libdir} CFLAGS="%{optflags}" \
    %{py3_build}


%install
#%%{__python} setup.py install -O1 --skip-build --root %%{buildroot}
# skip-build currently broken, this works around it for now
env ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} \
    LAPACK=%{_libdir} CFLAGS="%{optflags}" \
    %{__python3} setup.py install --root %{buildroot}
------------------------

But there are no BRs which leads to this during build:

------------------------
+ /usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s'
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in ['/usr/local/lib64', '/usr/local/lib',
'/usr/lib64', '/usr/lib', '/usr/lib/']
  NOT AVAILABLE
openblas_info:
  libraries openblas not found in ['/usr/local/lib64', '/usr/local/lib',
'/usr/lib64', '/usr/lib', '/usr/lib/']
  NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries satlas not found in []
  NOT AVAILABLE
atlas_3_10_blas_info:
  libraries satlas not found in []
  NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries satlas not found in []
  NOT AVAILABLE
atlas_blas_info:
  libraries satlas not found in []
  NOT AVAILABLE
blas_info:
  libraries blas not found in ['/usr/local/lib64', '/usr/local/lib',
'/usr/lib64', '/usr/lib', '/usr/lib/']
  NOT AVAILABLE
blas_src_info:
  NOT AVAILABLE
  NOT AVAILABLE
...
/builddir/build/BUILD/numpy-1.10.4/numpy/distutils/system_info.py:635:
UserWarning: Specified path /usr/lib64/atlas is invalid.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
...
/builddir/build/BUILD/numpy-1.10.4/numpy/distutils/system_info.py:1660:
UserWarning: 
    Blas (http://www.netlib.org/blas/) libraries not found.
...
/builddir/build/BUILD/numpy-1.10.4/numpy/distutils/system_info.py:1563:
UserWarning: 
    Lapack (http://www.netlib.org/lapack/) libraries not found.
------------------------

I didn't really get the idea why ENVs were defined but there is no real usage
of system shared libs.
Also, the package contains "lite" versions of fft, blas and lapack
(`numpy/linalg`, `numpy/fft`) which is more confusing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]