Date: Wed, 2 Feb 2011 10:28:16 +0000 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: freebsd-ports@freebsd.org Subject: policy on having the same routines in different library archives? Message-ID: <20110202102816.GA58343@mech-cluster241.men.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
I've put a port of Slatec together: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151970 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 libraries. Is there a FreeBSD ports policy on this? Many thanks Anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110202102816.GA58343>