policy on having the same routines in different library
annulen at yandex.ru
Wed Feb 2 10:47:08 UTC 2011
02.02.2011, 13:28, "Anton Shterenlikht" <mexas at bristol.ac.uk>:
> I've put a port of Slatec together:
> Recently I realised that some 110 routines in Slatec
> are already present in math/blas, and the Blas versions
> seem to be newer.
> % ar -t /usr/local/lib/libblas.a | sort > blas.sorted
> % ar -t /usr/local/lib/libslatec.a | sort > slatec.sorted
> % comm -12 blas.sorted slatec.sorted | wc
> 110 110 882
> I can see benefits and disadvantages of having same
> routines in different libraries. Advantages are
> that a user can choose to only install Slatec,
> with no Blas, and that no fine tuning of the
> distribution is required.
> Disadvantages could be extra size and potential
> for confusion, e.g. when linking against both
> Is there a FreeBSD ports policy on this?
FYI: there are lots of BLAS implementations in the world, all of them having the same API.
The same for LAPACK.
More information about the freebsd-ports