[Python-modules-team] Bug#489253: python-numpy: enable ATLAS support?

Tiziano Zito otizonaizit at yahoo.com
Sun Jul 6 15:50:53 UTC 2008


> Hi Tiziano!
> 
> Thanks for the bug report. Do you suggest this patch?
> 
> [...]
> 
> Unfortunately, I am not an expert in blas/lapack/atlas, I only
> remember there were some problems with that. The package compiles and
> seems to work fine, tests run. However, for example the generated
> dependencies of the resulting binary package are wrong:
> 
> Depends: python (<< 2.6), python (>= 2.4), python-central (>= 0.6.7),
> libc6 (>= 2.7-1)
> 
> so it doesn't seem to pickup atlas correctly. Maybe there are some
> other problems too.
> 
> Would you be willing to look at this? If so, please join DPMT, so that
> you can edit the package and then feel free to fix it. If you prepare
> the package, so that it's ready for upload, I'll upload it.

Hi Ondrej, I'll request to join the DPMT, but in the meanwhile this
patch created a perfectly running python-numpy package with ATLAS
support and right dependencies:
Depends: python (<< 2.6), python (>= 2.4), python-central (>=0.6.7), 
 libatlas3gf-base | libatlas.so.3gf, libc6 (>= 2.7-1),
 libgcc1 (>= 1:4.1.1), libgfortran3 (>= 4.3), liblapack3gf |
 liblapack.so.3gf | libatlas3gf-base

$ svn di

Index: debian/control
===================================================================
--- debian/control	(revision 5836)
+++ debian/control	(working copy)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Marco Presi (Zufus) <zufus at debian.org>, Alexandre Fayolle <afayolle at debian.org>, José Fonseca <j_r_fonseca at yahoo.co.uk>, Matthias Klose <doko at debian.org>, Ondrej Certik <ondrej at certik.cz>, Kumar Appaiah <akumar at debian.org>
-Build-Depends: cdbs (>= 0.4.43), python-all-dev, python-all-dbg, python-central (>= 0.6), gfortran (>= 4:4.2), libblas-dev [!arm !m68k], liblapack-dev [!arm !m68k], debhelper (>= 5.0.38), patchutils, python-docutils, libfftw3-dev
+Build-Depends: cdbs (>= 0.4.43), python-all-dev, python-all-dbg, python-central (>= 0.6), gfortran (>= 4:4.2), libblas-dev [!arm !m68k], liblapack-dev [!arm !m68k], libatlas-base-dev [!arm !m68k] | libatlas-sse-dev [!arm !m68k] | libatlas-sse2-dev [!arm !m68k] | libatlas-3dnow-dev [!arm !m68k],debhelper (>= 5.0.38), patchutils, python-docutils, libfftw3-dev
 Build-Conflicts: atlas3-base-dev
 XS-Python-Version: >= 2.3
 Standards-Version: 3.8.0
Index: debian/patches/series
===================================================================
--- debian/patches/series	(revision 5836)
+++ debian/patches/series	(working copy)
@@ -1,2 +1 @@
 01_fix_man_hyphens.patch
-02_dontuse_lapack.diff

Hope that helps,
tiziano






More information about the Python-modules-team mailing list