summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2009-07-14 01:57:15 +0000
committerMarkus Dittrich <markusle@gentoo.org>2009-07-14 01:57:15 +0000
commit33abb7aa632cd06864bf3d0743583c8e5f9dae1b (patch)
tree83cafed51e37a436e395959bc826fcd0b51a4f11 /sci-libs/lapack-reference
parentVersion bump (diff)
downloadhistorical-33abb7aa632cd06864bf3d0743583c8e5f9dae1b.tar.gz
historical-33abb7aa632cd06864bf3d0743583c8e5f9dae1b.tar.bz2
historical-33abb7aa632cd06864bf3d0743583c8e5f9dae1b.zip
Version bump.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/lapack-reference')
-rw-r--r--sci-libs/lapack-reference/ChangeLog31
-rw-r--r--sci-libs/lapack-reference/Manifest15
-rw-r--r--sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild91
3 files changed, 114 insertions, 23 deletions
diff --git a/sci-libs/lapack-reference/ChangeLog b/sci-libs/lapack-reference/ChangeLog
index c1195c55102d..0057e1e1d008 100644
--- a/sci-libs/lapack-reference/ChangeLog
+++ b/sci-libs/lapack-reference/ChangeLog
@@ -1,12 +1,19 @@
# ChangeLog for sci-libs/lapack-reference
-# Copyright 2004-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/ChangeLog,v 1.46 2007/12/19 14:45:48 jsbronder Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/ChangeLog,v 1.47 2009/07/14 01:57:15 markusle Exp $
+
+*lapack-reference-3.2.1 (13 Jul 2009)
+
+ 13 Jul 2009; Markus Dittrich <markusle@gentoo.org>
+ +lapack-reference-3.2.1.ebuild:
+ Version bump. Since upstream currently only provides an unversioned tarball
+ we host a properly versioned one on our mirrors for the time being.
19 Dec 2007; Justin Bronder <jsbronder@gentoo.org>
lapack-reference-3.1.1-r1.ebuild:
Move ESELECT_PROF so binary packages work.
- 21 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ 21 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
-files/lapack-reference-3.1.0-autotool.patch,
-files/lapack-reference-3.1.1-autotool.patch, -files/eselect-reference,
-lapack-reference-3.1.0.ebuild, -lapack-reference-3.1.1.ebuild,
@@ -20,22 +27,22 @@
16 Nov 2007; nixnut <nixnut@gentoo.org> lapack-reference-3.1.1-r1.ebuild:
Stable on ppc wrt bug 189738
- 14 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ 14 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
lapack-reference-3.1.1-r1.ebuild:
amd64 stable wrt #189738, with kingtaco's green light.
- 29 Oct 2007; Raúl Porcel <armin76@gentoo.org>
+ 29 Oct 2007; Raúl Porcel <armin76@gentoo.org>
lapack-reference-3.1.1-r1.ebuild:
alpha stable wrt #189738
21 Oct 2007; nixnut <nixnut@gentoo.org> lapack-reference-3.1.1-r1.ebuild:
Added ~ppc
- 11 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ 11 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
lapack-reference-3.1.1-r1.ebuild:
fixed lib->get_libdir for eselect bug workaround
- 10 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ 10 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
-files/lapack-reference-3.0-autotool.patch, -files/f77-reference,
-lapack-reference-3.0.ebuild, -lapack-reference-3.0-r1.ebuild,
lapack-reference-3.1.1-r1.ebuild:
@@ -45,7 +52,7 @@
lapack-reference-3.1.1-r1.ebuild:
Stable on ppc64; bug #189738
- 27 Sep 2007; Raúl Porcel <armin76@gentoo.org>
+ 27 Sep 2007; Raúl Porcel <armin76@gentoo.org>
lapack-reference-3.1.1-r1.ebuild:
ia64/sparc stable wrt #189738
@@ -59,7 +66,7 @@
*lapack-reference-3.1.1-r1 (21 Aug 2007)
- 21 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ 21 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org>
+files/lapack-reference-3.1.1-autotools.patch,
+files/eselect.lapack.reference, metadata.xml,
+lapack-reference-3.1.1-r1.ebuild:
@@ -85,7 +92,7 @@
It seems to be rare and only occurs on 64-bit platforms. Reference:
https://icl.cs.utk.edu/lapack-forum/viewtopic.php?t=299
- 25 Jun 2007; Raúl Porcel <armin76@gentoo.org>
+ 25 Jun 2007; Raúl Porcel <armin76@gentoo.org>
lapack-reference-3.1.1.ebuild:
Add ~alpha wrt #159002
@@ -131,7 +138,7 @@
+files/lapack-reference-3.1.0-autotool.patch,
+lapack-reference-3.1.0.ebuild:
Version bump. Ebuild now allows library checks via lapack's
- test-routines. Thanks much to Adam Piątyszek
+ test-routines. Thanks much to Adam Piątyszek
<ediap@et.put.poznan.pl> for his ebuild and patches
(this fixes bug #157410).
@@ -178,7 +185,7 @@
+files/lapack-reference-3.0-autotool.patch,
+lapack-reference-3.0-r3.ebuild:
Bump to autotool the package, which makes the build work much better in
- parallel and with gcc4. Thanks to Adam Piątyszek for catching an initial
+ parallel and with gcc4. Thanks to Adam Piątyszek for catching an initial
problem; a couple of files cannot be compiled with optimization.
15 May 2006; Donnie Berkholz <dberkholz@gentoo.org>;
diff --git a/sci-libs/lapack-reference/Manifest b/sci-libs/lapack-reference/Manifest
index da24c3ec8d84..c126d533477f 100644
--- a/sci-libs/lapack-reference/Manifest
+++ b/sci-libs/lapack-reference/Manifest
@@ -1,17 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX eselect.lapack.reference 237 RMD160 f87f6c802089ce23b5d53cb40403ed32b9b9f866 SHA1 0ea7ca8961e4d7381618893c155fe582cd68d8c4 SHA256 2a72a6a9b49ec944656e164842907ee76d878a6772a7d71c1cb196d8beb6fa13
AUX lapack-reference-3.1.1-test-fix.patch 2120 RMD160 9c37d349af207f0bbb6deb1ae88addb9676c73fc SHA1 bf73066396b08def6bcd81d0ce09aab682224cb1 SHA256 40c514db2bf9a08ce9630e53058ef3d863fd981c774987b233f6bdce3601a6f8
+DIST lapack-3.2.1.tgz 4792502 RMD160 e8fabba2fdd944afbc02a83599cf45a0d721030d SHA1 c75223fdef3258c461370af5d2b889d580d7f38a SHA256 5825f83971157001fd4235514afe8ff5fc16e1c06b2e872e442c242efd6c166d
DIST lapack-lite-3.1.1.tgz 5332509 RMD160 d81baafd1f0f9859d9f75ac9b658f743544b5f5b SHA1 1ec4ef90b544cf82bc7b4f770cee6fb46da457c5 SHA256 505a13272d0d71c45ea52be2de74b0562b234ea3ccf5160665c7a2ee74a58437
DIST lapack-reference-3.1.1-autotools.patch.bz2 7233 RMD160 7a82e871a5bf9fa57088001c89203cd965b72af1 SHA1 0294125e7cdac514c025f8b1c8f24d4ec12c5dab SHA256 63e2c0b64118ca20aed3ca52dbc553ba924c242d3a0b07e6236dee99ede16802
+DIST lapack-reference-3.2.1-autotools.patch.bz2 13338 RMD160 2c616267acae83f752533ff58e4911397bc1bb48 SHA1 3b054555405deccf84e090843803ab6babb71cb0 SHA256 de2ab4ea9723f549c77b38d932e5ddb55b7b5583b0050e527505210460dcdf76
EBUILD lapack-reference-3.1.1-r1.ebuild 2722 RMD160 e5a6b369dc54b2a90a4e3bef9e3d8fd9a80af88b SHA1 a3871e86351638645d1ba9359d1790864a946832 SHA256 1fcfe9923c021c7a87c37c094b84d06608e2f0108d7ba738e6840be80e5627b8
-MISC ChangeLog 8169 RMD160 c37f98dd7267c6a13a463a47c445d6305f2c3488 SHA1 6ff690dab38dc27f4aeb6bfd69b2abb0cfd1f29b SHA256 ced254387e3bf6b64a63abd70bddbaef050659356260e9f756dddeca127e6040
+EBUILD lapack-reference-3.2.1.ebuild 2704 RMD160 42e332ef7aa2f4115b4963ec0a19342a4baf66b5 SHA1 5e7d3ea3087e6279b5929c1891f9adbbb4e173e7 SHA256 6182b40197895e08d6a191f75b557edf2dfab5c71226bd1c571ac2a5cfdc9269
+MISC ChangeLog 8463 RMD160 9a2687a6d9f2bfb36bb64dcf1432c04759c70793 SHA1 b5ed28daf60c905a28c2820e8b741e05b25f9798 SHA256 3d0d99cdc7011931ade386d7382e8cb22167b598bff07efb0cd56fd23ad9f56d
MISC metadata.xml 594 RMD160 13588b9b3bfc11c2818d846723bf2f5e376e3650 SHA1 f5ea3820ca5fc7a2973c3d19329b1f7fa3f5e427 SHA256 f08ce9a146655d7bbb3b21a408816e91f86dfcd9f1d1f7868f8edd5e5416c466
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkk8H7oACgkQ67wieSYcaxchNwCfQAbQoKqlXRjX2FLKYA4nI6KW
-T8QAoJmyu4hT17PK21LBHXmYn2jsx6zF
-=jxlv
------END PGP SIGNATURE-----
diff --git a/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild
new file mode 100644
index 000000000000..838c95d0ac97
--- /dev/null
+++ b/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.2.1.ebuild,v 1.1 2009/07/14 01:57:15 markusle Exp $
+
+inherit eutils autotools flag-o-matic fortran multilib
+
+MyPN="${PN/-reference/}"
+PATCH_V="3.2.1"
+
+DESCRIPTION="FORTRAN reference implementation of LAPACK Linear Algebra PACKage"
+HOMEPAGE="http://www.netlib.org/lapack/index.html"
+SRC_URI="mirror://gentoo/${MyPN}-${PV}.tgz
+ mirror://gentoo/${PN}-${PATCH_V}-autotools.patch.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND="virtual/blas
+ dev-util/pkgconfig
+ app-admin/eselect-lapack"
+RDEPEND="virtual/blas
+ app-admin/eselect-lapack
+ doc? ( app-doc/lapack-docs )"
+
+S="${WORKDIR}/${MyPN}-${PV}"
+
+pkg_setup() {
+ FORTRAN="g77 gfortran ifc"
+ fortran_pkg_setup
+ if [[ ${FORTRANC} == if* ]]; then
+ ewarn "Using Intel Fortran at your own risk"
+ export LDFLAGS="$(raw-ldflags)"
+ export NOOPT_FFLAGS=-O
+ fi
+ ESELECT_PROF=reference
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}"/${PN}-${PATCH_V}-autotools.patch
+ eautoreconf
+
+ # set up the testing routines
+ sed -e "s:g77:${FORTRANC}:" \
+ -e "s:-funroll-all-loops -O3:${FFLAGS} $(pkg-config --cflags blas):" \
+ -e "s:LOADOPTS =:LOADOPTS = ${LDFLAGS} $(pkg-config --cflags blas):" \
+ -e "s:../../blas\$(PLAT).a:$(pkg-config --libs blas):" \
+ -e "s:lapack\$(PLAT).a:SRC/.libs/liblapack.a:" \
+ make.inc.example > make.inc \
+ || die "Failed to set up make.inc"
+}
+
+src_compile() {
+ econf \
+ --libdir="/usr/$(get_libdir)/lapack/reference" \
+ --with-blas="$(pkg-config --libs blas)" \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README || die "dodoc failed"
+ eselect lapack add $(get_libdir) "${FILESDIR}"/eselect.lapack.reference ${ESELECT_PROF}
+}
+
+src_test() {
+ cd "${S}"/TESTING/MATGEN
+ emake || die "Failed to create tmglib.a"
+ cd "${S}"/TESTING
+ emake || die "lapack-reference tests failed."
+}
+
+pkg_postinst() {
+ local p=lapack
+ local current_lib=$(eselect ${p} show | cut -d' ' -f2)
+ if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
+ # work around eselect bug #189942
+ local configfile="${ROOT}"/etc/env.d/${p}/$(get_libdir)/config
+ [[ -e ${configfile} ]] && rm -f ${configfile}
+ eselect ${p} set ${ESELECT_PROF}
+ elog "${p} has been eselected to ${ESELECT_PROF}"
+ else
+ elog "Current eselected ${p} is ${current_lib}"
+ elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
+ elog "\t eselect ${p} set ${ESELECT_PROF}"
+ fi
+}