Bug#764491: About pkg-config for BLAS/LAPACK

Sébastien Villemot sebastien at debian.org
Fri Oct 10 19:18:20 UTC 2014


Hi Alastair,

I saw your reports about adding pkg-config support for BLAS and LAPACK
implementations (#764372 and #764491).

I am basically in agreement with this change, but I don't have the time
to take care of it before the jessie freeze.

So, if you want to have this change in Jessie, feel free to do a Team
Upload (or a DELAY/0 NMU if you're not in the Debian Science Team).
However, if you do that, please also make similar changes at the same
time to atlas (adding both a blas-atlas.pc and lapack-atlas.pc) and to
lapack (adding a lapack-netlib.pc).

Also, I don't think that cblas.pc is the right name for the blas package
pkg-config file (cblas is a C interface to the Fortran 77 BLAS
routines). I would rather call that file blas-netlib.pc.

For the openblas case, I don't think it makes much sense to set libdir
to /usr/lib/openblas (though it does not harm), since actually the
symlink /usr/lib/libblas.a will point to the right place.

Finally, I don't understand why you say that your .pc file for OpenBLAS
enables linking to OpenBLAS both generically and explicitly. Actually,
it only enables generic linking to a BLAS alternative. The specific
linking to OpenBLAS is provided by /usr/lib/libopenblas.so.0 (which has
a different SONAME).

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://sebastien.villemot.name
  `-      GPG Key: 4096R/381A7594


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20141010/86acc446/attachment-0002.sig>


More information about the debian-science-maintainers mailing list