aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-09-20 14:44:23 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-09-20 14:44:23 +0000
commit903beae3736c579195e2a303059057c12aa87929 (patch)
tree3e152459c29ef7ed57a1d30fa23ed1db657e6283 /sci-libs
parentadded gsl-1.10 with cblas support (diff)
downloadsci-903beae3736c579195e2a303059057c12aa87929.tar.gz
sci-903beae3736c579195e2a303059057c12aa87929.tar.bz2
sci-903beae3736c579195e2a303059057c12aa87929.zip
removed blas-goto, updated in main tree
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@738 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/blas-goto/Manifest16
-rw-r--r--sci-libs/blas-goto/blas-goto-1.16.ebuild153
-rw-r--r--sci-libs/blas-goto/files/blas.pc.in10
-rw-r--r--sci-libs/blas-goto/files/digest-blas-goto-1.163
-rw-r--r--sci-libs/blas-goto/files/eselect.blas.goto4
5 files changed, 0 insertions, 186 deletions
diff --git a/sci-libs/blas-goto/Manifest b/sci-libs/blas-goto/Manifest
deleted file mode 100644
index 4083b2d95..000000000
--- a/sci-libs/blas-goto/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
-AUX blas.pc.in 287 RMD160 fe259faa9ea6ed00cbe7bc5aab106a0a2541b49f SHA1 f6b0f1f20f959cc7d6bb6a89628fc078f04e0446 SHA256 c464a6f0ab3e913d48394c2ecd2f4c874e11440710207dd7d4c8e475e40de8e2
-MD5 00a789cced0c73c68e0598aec90463d8 files/blas.pc.in 287
-RMD160 fe259faa9ea6ed00cbe7bc5aab106a0a2541b49f files/blas.pc.in 287
-SHA256 c464a6f0ab3e913d48394c2ecd2f4c874e11440710207dd7d4c8e475e40de8e2 files/blas.pc.in 287
-AUX eselect.blas.goto 193 RMD160 b25ff1d0b37fed194afde473019706e6a9404718 SHA1 e4c78e7cace1d7144f1fc921a29d516b4234703d SHA256 33a9d0be6f400f792f744604afae7239b2d7392cc0e8cac758b53e695acc0802
-MD5 123cb7f07958ee38eebc1bfd038ad840 files/eselect.blas.goto 193
-RMD160 b25ff1d0b37fed194afde473019706e6a9404718 files/eselect.blas.goto 193
-SHA256 33a9d0be6f400f792f744604afae7239b2d7392cc0e8cac758b53e695acc0802 files/eselect.blas.goto 193
-DIST GotoBLAS-1.16.tar.gz 1783818 RMD160 416f905cb07a3eaf03c85f4660865393403fe398 SHA1 24e0bec6e06f400754ba4d6fc1950a1beb83c95b SHA256 4a490f86648aa26fa1e5bfe4569224c8146d0086db90280eeff279f92cb8cbe5
-EBUILD blas-goto-1.16.ebuild 3823 RMD160 eed05cba3b194f1ad0df291f9375ce1bb2be7d41 SHA1 c3db18d0782834f3cc87dc37b5e55501a02b5b07 SHA256 268dae63ed9f4c39a1993b6e002a345b28a594fea0e4f3c0623f3046316adefa
-MD5 d5904c6c1ae622bb9951f02c1e373792 blas-goto-1.16.ebuild 3823
-RMD160 eed05cba3b194f1ad0df291f9375ce1bb2be7d41 blas-goto-1.16.ebuild 3823
-SHA256 268dae63ed9f4c39a1993b6e002a345b28a594fea0e4f3c0623f3046316adefa blas-goto-1.16.ebuild 3823
-MD5 9a962a71f195f4c7e47eb6500e359bf7 files/digest-blas-goto-1.16 244
-RMD160 f746aa18c4fb25074c3bb812f2b6d9af23f207c8 files/digest-blas-goto-1.16 244
-SHA256 94fcc0a46d8b6bdc34b86b0262776addca8d14bc3b7a324f9e80d6445d166734 files/digest-blas-goto-1.16 244
diff --git a/sci-libs/blas-goto/blas-goto-1.16.ebuild b/sci-libs/blas-goto/blas-goto-1.16.ebuild
deleted file mode 100644
index a15ba1b07..000000000
--- a/sci-libs/blas-goto/blas-goto-1.16.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils fortran flag-o-matic toolchain-funcs
-
-MY_PN="GotoBLAS"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="The fastest implementations of the Basic Linear Algebra Subroutines"
-HOMEPAGE="http://www.tacc.utexas.edu/resources/software/software.php"
-SRC_URI="http://www.tacc.utexas.edu/resources/software/login/gotoblas/${MY_P}.tar.gz"
-LICENSE="tacc"
-SLOT="0"
-# See http://www.tacc.utexas.edu/resources/software/gotoblasfaq.php
-# for supported architectures
-KEYWORDS="~x86 ~amd64"
-IUSE="threads doc"
-RESTRICT="mirror"
-RDEPEND="app-admin/eselect-blas
- dev-util/pkgconfig
- doc? ( app-doc/blas-docs )"
-
-DEPEND="app-admin/eselect-blas
- >=sys-devel/binutils-2.17"
-
-S="${WORKDIR}/${MY_PN}"
-FORTRAN="g77 gfortran ifc"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Set up C compiler
- if [[ $(tc-getCC) = *gcc ]]; then
- C_COMPILER="GNU"
- elif [[ $(tc-getCC) = icc ]]; then
- C_COMPILER="INTEL"
- else
- die "tc-getCC() returned an invalid C compiler; valid are gcc or icc."
- fi
-
- # Set up FORTRAN 77 compiler
- case ${FORTRANC} in
- g77)
- F_COMPILER="G77"
- ;;
- gfortran)
- F_COMPILER="GFORTRAN"
- F_LIB="-lgfortran"
- ;;
- ifc|ifort)
- F_COMPILER="INTEL"
- ;;
- *)
- die "fortran.eclass returned an invalid Fortran compiler \'${FORTRANC}\'; valid are ${FORTRAN}."
- esac
-
- # Fix shared lib build
- sed -i \
- -e "s:\(&& echo OK\):${F_LIB} \1:g" \
- "${S}"/exports/Makefile \
- || die "sed for shared libs failed"
-
- # Set up compilers
- sed -i \
- -e "s:^# \(C_COMPILER =\) GNU:\1 ${C_COMPILER}:g" \
- -e "s:^# \(F_COMPILER =\) G77:\1 ${F_COMPILER}:g" \
- -e "s:^# \(SMP = 1\):\1:g" \
- -e "s:\$(COMPILER_PREFIX)ar:$(tc-getAR):" \
- -e "s:\$(COMPILER_PREFIX)as:$(tc-getAS):" \
- -e "s:\$(COMPILER_PREFIX)ld:$(tc-getLD):" \
- -e "s:\$(COMPILER_PREFIX)ranlib:$(tc-getRANLIB):" \
- "${S}"/Makefile.rule \
- || die "sed for setting up compilers failed"
-
- # Threaded?
- if use threads; then
- sed -i \
- -e "s:^# \(SMP = 1\):\1:g" \
- "${S}"/Makefile.rule \
- || die "sed for threads failed"
- fi
-
- # If you need a 64-bit integer interface, also do this for "INTERFACE64 = 1"
- if use amd64; then
- sed -i \
- -e "s:^# \(BINARY64 = 1\):\1:g" \
- "${S}"/Makefile.rule \
- || die "sed for 64 binary failed"
- fi
-
- # Respect CFLAGS/FFLAGS
- sed -i \
- -e "/^COMMON_OPT += -O2$/d" \
- -e "s:^\(CFLAGS[[:space:]]*=\):\1 ${CFLAGS}:" \
- -e "s:^\(FFLAGS[[:space:]]*+=\):\1 ${FFLAGS}:" \
- "${S}"/Makefile.rule \
- || die "sed for flags failed"
-}
-
-src_compile() {
-
- # Make static library
- emake LDFLAGS=$(raw-ldflags) || die "emake failed"
-
- # Make shared library
- cd exports
- emake so -j1 || die "emake failed"
-}
-
-src_test() {
- cd test
- emake || die "emake test failed"
- make clean
-}
-
-src_install() {
- local MAIN_DIR="/usr/$(get_libdir)/blas"
- local DIR="${MAIN_DIR}/goto"
-
- # dolib.so doesn't support our alternate locations
- exeinto ${DIR}
- doexe libgoto_*.so
- dosym libgoto_*.so ${DIR}/libgoto.so
- dosym libgoto_*.so ${DIR}/libgoto.so.0
- dosym libgoto_*.so ${DIR}/libgoto.so.0.0.0
-
- # dolib.a doesn't support our alternate locations
- insinto ${DIR}
- doins libgoto_*.a
- dosym libgoto_*.a ${DIR}/libgoto.a
-
- dodoc 01Readme.txt 03History.txt 04FAQ.txt
-
- cp "${FILESDIR}"/blas.pc.in blas.pc
- local extlibs=""
- use threads && extlibs="${extlibs} -lpthread"
- extlibs="${extlibs}"
- sed -i \
- -e "s/@LIBDIR@/$(get_libdir)/" \
- -e "s/@PV@/${PV}/" \
- -e "s/@EXTLIBS@/${extlibs}/" \
- blas.pc || die "sed blas.pc failed"
- insinto /usr/$(get_libdir)/blas/goto
- doins blas.pc
- eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.goto goto
-}
-
-pkg_postinst() {
- [[ -z "$(eselect blas show)" ]] && eselect blas set goto
- elog "To use BLAS GOTO implementation, you have to issue (as root):"
- elog "\n\teselect blas set goto\n"
-}
diff --git a/sci-libs/blas-goto/files/blas.pc.in b/sci-libs/blas-goto/files/blas.pc.in
deleted file mode 100644
index 81940962c..000000000
--- a/sci-libs/blas-goto/files/blas.pc.in
+++ /dev/null
@@ -1,10 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=/usr/@LIBDIR@
-includedir=${prefix}/include
-
-Name: blas
-Description: GOTO implementations of the F77 Basic Linear Algebra Subroutines
-Version: @PV@
-URL: http://www.tacc.utexas.edu/resources/software/software.php
-Libs: -L${libdir} -lblas @EXTLIBS@
diff --git a/sci-libs/blas-goto/files/digest-blas-goto-1.16 b/sci-libs/blas-goto/files/digest-blas-goto-1.16
deleted file mode 100644
index 4bcd0425d..000000000
--- a/sci-libs/blas-goto/files/digest-blas-goto-1.16
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 fe1489037a3c2d69e7d5b9a05f14bfa9 GotoBLAS-1.16.tar.gz 1783818
-RMD160 416f905cb07a3eaf03c85f4660865393403fe398 GotoBLAS-1.16.tar.gz 1783818
-SHA256 4a490f86648aa26fa1e5bfe4569224c8146d0086db90280eeff279f92cb8cbe5 GotoBLAS-1.16.tar.gz 1783818
diff --git a/sci-libs/blas-goto/files/eselect.blas.goto b/sci-libs/blas-goto/files/eselect.blas.goto
deleted file mode 100644
index 0097969eb..000000000
--- a/sci-libs/blas-goto/files/eselect.blas.goto
+++ /dev/null
@@ -1,4 +0,0 @@
-blas/goto/libgoto.so /usr/@LIBDIR@/libblas.so
-blas/goto/libgoto.so.0 /usr/@LIBDIR@/libblas.so.0
-blas/goto/libgoto.a /usr/@LIBDIR@/libblas.a
-../blas/goto/blas.pc /usr/@LIBDIR@/pkgconfig/blas.pc