summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2004-02-02 03:13:05 +0000
committerGeorge Shapovalov <george@gentoo.org>2004-02-02 03:13:05 +0000
commitcf2a34cbf702a25df15875895b13f8952ae31cd5 (patch)
treebbbc09b0b5acc0f59f5665d5e59f1b6ab4f2bdfe /app-sci/blas-reference
parentadjusted mask on app-sci/blas (to blas-reference) to reflect the ongoing move (diff)
downloadhistorical-cf2a34cbf702a25df15875895b13f8952ae31cd5.tar.gz
historical-cf2a34cbf702a25df15875895b13f8952ae31cd5.tar.bz2
historical-cf2a34cbf702a25df15875895b13f8952ae31cd5.zip
moved modified blas to blas-reference, ready for the virtual. package-masked so far
Diffstat (limited to 'app-sci/blas-reference')
-rw-r--r--app-sci/blas-reference/ChangeLog26
-rw-r--r--app-sci/blas-reference/Manifest6
-rw-r--r--app-sci/blas-reference/blas-reference-19940131.ebuild93
-rw-r--r--app-sci/blas-reference/files/Makefile.bz2bin0 -> 1027 bytes
-rw-r--r--app-sci/blas-reference/files/digest-blas-reference-199401311
-rw-r--r--app-sci/blas-reference/files/f77-reference14
-rw-r--r--app-sci/blas-reference/metadata.xml5
7 files changed, 145 insertions, 0 deletions
diff --git a/app-sci/blas-reference/ChangeLog b/app-sci/blas-reference/ChangeLog
new file mode 100644
index 000000000000..f8f0c781fa34
--- /dev/null
+++ b/app-sci/blas-reference/ChangeLog
@@ -0,0 +1,26 @@
+# ChangeLog for app-sci/blas
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/blas-reference/ChangeLog,v 1.1 2004/02/02 03:13:05 george Exp $
+
+ 01 Feb 2004; George Shapovalov <george@gentoo.org> blas-reference-19940131.ebuild, files/* :
+ as per discussion in #30453 renaming (plain) blas to blas-reference.
+ Will stay package-masked until the whole move is complete, at which point pre-move/pre-virtual versions
+ will be removed. Preserving the history in this ChangeLog
+
+*blas-19940131 (27 Oct 2003)
+
+ 27 Oct 2003; George Shapovalov <george@gentoo.org> blas-19940131.ebuild, files/{Makefile.bz2,f77-reference} :
+ a "real" version (#30462),
+ according to code this is when last modifications were made.
+ This version provides both static and shared library.
+ This is a part of a large ehnahcement of blas support in portage (#30453)
+ package-masked for now
+ thanks to Derek Dolney <dolney@astro.physics.upenn.edu> for the "fix"
+
+ 02 Nov 2002; Hannes Mehnert <hannes@gentoo.org> blas-19980702.ebuild:
+ marked stable for x86
+
+*blas-19980702 (31 Oct 2002)
+
+ 31 Oct 2002; Hannes Mehnert <hannes@gentoo.org> blas-19980702.ebuild,
+ ChangeLog: Initial ebuild.
diff --git a/app-sci/blas-reference/Manifest b/app-sci/blas-reference/Manifest
new file mode 100644
index 000000000000..d7ae9cf93758
--- /dev/null
+++ b/app-sci/blas-reference/Manifest
@@ -0,0 +1,6 @@
+MD5 45fee8823b481b79f1528f8f8ea7116b blas-reference-19940131.ebuild 2215
+MD5 1e05c47f1bc3025cd2cd5fe13e47cf18 ChangeLog 1242
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 2d7bae33a1553ed8eccbdb971a459ff2 files/f77-reference 396
+MD5 506dd7c8d76dd6213ad9e532346033b5 files/Makefile.bz2 1027
+MD5 ba7949ab229d3b52516732fc47caebeb files/digest-blas-reference-19940131 52
diff --git a/app-sci/blas-reference/blas-reference-19940131.ebuild b/app-sci/blas-reference/blas-reference-19940131.ebuild
new file mode 100644
index 000000000000..ae2239bddf2c
--- /dev/null
+++ b/app-sci/blas-reference/blas-reference-19940131.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/blas-reference/blas-reference-19940131.ebuild,v 1.1 2004/02/02 03:13:05 george Exp $
+
+Name="blas"
+DESCRIPTION="FORTRAN reference implementation of the BLAS (linear algebra lib)"
+HOMEPAGE="http://www.netlib.org/blas/"
+SRC_URI="http://www.netlib.org/blas/${Name}.tgz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ifc"
+
+DEPEND="app-sci/blas-config
+ sys-devel/libtool
+ ifc? ( dev-lang/ifc )"
+
+RDEPEND="ifc? ( dev-lang/ifc )" # Need ifc runtime libraries
+
+PROVIDE="virtual/blas"
+
+S=${WORKDIR}
+
+ifc_info() {
+ if [ -z "${IFCFLAGS}" ]
+ then
+ einfo
+ einfo "You may want to set some ifc optimization flags by running this"
+ einfo "ebuild as, for example, \`IFCFLAGS=\"-O3 -tpp7 -xW\" emerge blas\`"
+ einfo "(Pentium 4 exclusive optimizations)."
+ einfo
+ einfo "ifc defaults to -O2, with code tuned for Pentium 4, but that"
+ einfo "will run on any processor."
+ einfo
+ einfo "Beware that ifc's -O3 is very aggressive, sometimes resulting in"
+ einfo "significantly worse performance."
+ einfo
+ sleep 5
+ fi
+}
+
+src_compile() {
+ cd ${S}
+ cp ${FILESDIR}/Makefile.bz2 .
+ bunzip2 Makefile.bz2
+
+ # Profile information will be installed in TOP_PATH:
+ TOP_PATH=${DESTTREE}/lib/blas
+ # Libraries will be installed in RPATH:
+ RPATH=${TOP_PATH}/reference
+
+ if [ "`use ifc`" ]
+ then
+ ifc_info
+ make static FC="ifc" FFLAGS="${IFCFLAGS}"
+ ifc -shared ${IFCFLAGS} \
+ -Wl,-soname,libblas.so.0 -o libblas.so.0.0.0 *.lo
+ else
+ # libg2c is required to link to libblas.so using ifc:
+ make libs \
+ FC="g77" \
+ FFLAGS="${CFLAGS}" \
+ LIBTOOL_FLAGS="-rpath ${RPATH} -lg2c" \
+ || die
+ fi
+}
+
+src_install() {
+ if [ "`use ifc`" ]
+ then
+ strip --strip-unneeded libblas.so.0.0.0
+ strip --strip-debug libblas.a
+
+ exeinto ${RPATH}
+ doexe libblas.so.0.0.0
+ dosym libblas.so.0.0.0 ${RPATH}/libblas.so.0
+ dosym libblas.so.0.0.0 ${RPATH}/libblas.so
+
+ insinto ${RPATH}
+ doins libblas.a
+ else
+ dodir ${RPATH}
+ libtool install -s libblas.la ${D}/${RPATH}
+ fi
+
+ insinto ${TOP_PATH}
+ doins ${FILESDIR}/f77-reference
+}
+
+pkg_postinst() {
+ blas-config f77-reference
+}
diff --git a/app-sci/blas-reference/files/Makefile.bz2 b/app-sci/blas-reference/files/Makefile.bz2
new file mode 100644
index 000000000000..f245ae4d8807
--- /dev/null
+++ b/app-sci/blas-reference/files/Makefile.bz2
Binary files differ
diff --git a/app-sci/blas-reference/files/digest-blas-reference-19940131 b/app-sci/blas-reference/files/digest-blas-reference-19940131
new file mode 100644
index 000000000000..41ce05f23e36
--- /dev/null
+++ b/app-sci/blas-reference/files/digest-blas-reference-19940131
@@ -0,0 +1 @@
+MD5 5811e4b3dffa7a10956abf923cec1bd4 blas.tgz 94981
diff --git a/app-sci/blas-reference/files/f77-reference b/app-sci/blas-reference/files/f77-reference
new file mode 100644
index 000000000000..912d84403cd5
--- /dev/null
+++ b/app-sci/blas-reference/files/f77-reference
@@ -0,0 +1,14 @@
+F77LIBS="-L/usr/lib/blas/reference -lblas"
+
+setup() {
+
+einfo "/usr/lib/libblas.so -> blas/reference/libblas.so"
+ln -sf blas/reference/libblas.so /usr/lib/libblas.so
+
+einfo "/usr/lib/libblas.so.0 -> blas/reference/libblas.so.0"
+ln -sf blas/reference/libblas.so.0 /usr/lib/libblas.so.0
+
+einfo "/usr/lib/libblas.a -> blas/reference/libblas.a"
+ln -sf blas/reference/libblas.a /usr/lib/libblas.a
+
+}
diff --git a/app-sci/blas-reference/metadata.xml b/app-sci/blas-reference/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/app-sci/blas-reference/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>