r45462 - in /packages/openblas/branches/experimental/debian: README.Debian changelog

sebastien at users.alioth.debian.org sebastien at users.alioth.debian.org
Thu Dec 13 12:09:47 UTC 2012


Author: sebastien
Date: Thu Dec 13 12:09:46 2012
New Revision: 45462

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45462
Log:
README.Debian: improve instructions for building the custom package

Modified:
    packages/openblas/branches/experimental/debian/README.Debian
    packages/openblas/branches/experimental/debian/changelog

Modified: packages/openblas/branches/experimental/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/branches/experimental/debian/README.Debian?rev=45462&op=diff
==============================================================================
--- packages/openblas/branches/experimental/debian/README.Debian (original)
+++ packages/openblas/branches/experimental/debian/README.Debian Thu Dec 13 12:09:46 2012
@@ -1,43 +1,47 @@
-How to switch between the BLAS/LAPACK implementation and OpenBLAS/GotoBLAS
-optimized version
-===============================================================================
+How to switch between the various BLAS/LAPACK implementations
+=============================================================
 
 BLAS:
-update-alternatives --config libblas.so.3
+$ sudo update-alternatives --config libblas.so.3
 
 LAPACK:
-update-alternatives --config liblapack.so.3
+$ sudo update-alternatives --config liblapack.so.3
 
-More information are available here:
-http://wiki.debian.org/DebianScience/LinearAlgebraLibraries
+Note that the LAPACK alternative should not point to ATLAS when then BLAS
+alternative points to OpenBLAS, otherwise you will get crashes (see #576972).
+
+More information is available at:
+
+ http://wiki.debian.org/DebianScience/LinearAlgebraLibraries
 
 
+Building an optimized OpenBLAS packages on your architecture
+============================================================
 
-Building Optimized OpenBLAS Packages on your ARCH
-=================================================
+Since version openblas 0.1alpha1-5, libopenblas-base provides a multiple
+architecture library. All kernels are included in the library and the one
+matching your architecture is selected at run time.
 
-Building your own optimized packages of OpenBLAS is straightforward.
-Just get the sources of the package:
+An alternative is to create a custom OpenBLAS package, optimized for your
+specific machine, as explained below.
 
-# apt-get source openblas
+Install the build dependencies:
 
-and type
+$ sudo aptitude build-dep openblas
+$ sudo aptitude install devscripts
 
-# fakeroot debian/rules custom
+Get the sources of the package:
 
-it should produce a package called:
-# ../libopenblas-base_*.deb
+$ apt-get source openblas
 
-which should be optimized for the architecture OpenBLAS has been built on.
+Compile the package:
 
-All dependencies can be installed with the following command:
-# aptitude install build-essential dpkg-dev cdbs devscripts patch
+$ cd openblas-<VERSION>
+$ fakeroot debian/rules custom
 
-Please note that, since version openblas 0.1alpha1-5, libopenblas-base provides
-a multiple architecture library.
+It should produce a package that you can install with:
 
-All kernel will be included in the library and dynamically switched
-the best architecutre at run time.
+$ sudo dpkg -i ../libopenblas-base_<DEBVERSION>.deb
 
- -- Sylvestre Ledru <sylvestre at debian.org>  Tue, 31 May 2011 13:56:22 +0200
+ -- Sébastien Villemot <sebastien at debian.org>, Thu, 13 Dec 2012 13:09:19 +0100
 

Modified: packages/openblas/branches/experimental/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/branches/experimental/debian/changelog?rev=45462&op=diff
==============================================================================
--- packages/openblas/branches/experimental/debian/changelog (original)
+++ packages/openblas/branches/experimental/debian/changelog Thu Dec 13 12:09:46 2012
@@ -1,3 +1,9 @@
+openblas (0.2.5-1~exp2) UNRELEASED; urgency=low
+
+  * README.Debian: improve instructions for building the custom package
+
+ -- Sébastien Villemot <sebastien at debian.org>  Thu, 13 Dec 2012 12:52:41 +0100
+
 openblas (0.2.5-1~exp1) experimental; urgency=low
 
   [ Sébastien Villemot ]




More information about the debian-science-commits mailing list