diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-08-20 13:42:22 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-08-20 13:42:22 +0000 |
commit | f4ed36fe920fe7a3cad7f6b9111309d6af43ce20 (patch) | |
tree | db9d58c08be8f7687bf0137bfa4f6c7eb4b8423a /sci-libs/blas-goto | |
parent | Version bump, removed older version. (diff) | |
download | historical-f4ed36fe920fe7a3cad7f6b9111309d6af43ce20.tar.gz historical-f4ed36fe920fe7a3cad7f6b9111309d6af43ce20.tar.bz2 historical-f4ed36fe920fe7a3cad7f6b9111309d6af43ce20.zip |
Version bump (see bug #180601).
Package-Manager: portage-2.1.3.6
Diffstat (limited to 'sci-libs/blas-goto')
-rw-r--r-- | sci-libs/blas-goto/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/blas-goto/Manifest | 16 | ||||
-rw-r--r-- | sci-libs/blas-goto/blas-goto-1.16.ebuild | 144 | ||||
-rw-r--r-- | sci-libs/blas-goto/files/digest-blas-goto-1.16 | 3 |
4 files changed, 165 insertions, 5 deletions
diff --git a/sci-libs/blas-goto/ChangeLog b/sci-libs/blas-goto/ChangeLog index f3d6f072f9ff..3ffb9a754e37 100644 --- a/sci-libs/blas-goto/ChangeLog +++ b/sci-libs/blas-goto/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/blas-goto # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v 1.7 2007/08/19 00:30:51 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v 1.8 2007/08/20 13:42:22 markusle Exp $ + +*blas-goto-1.16 (20 Aug 2007) + + 20 Aug 2007; Markus Dittrich <markusle@gentoo.org> +blas-goto-1.16.ebuild: + Version bump (see bug #180601). 18 Aug 2007; Markus Dittrich <markusle@gentoo.org> blas-goto-1.14.ebuild: Fixed problems with failing seds to Makefile.rule. diff --git a/sci-libs/blas-goto/Manifest b/sci-libs/blas-goto/Manifest index b6f6b97a5b91..87d90865928a 100644 --- a/sci-libs/blas-goto/Manifest +++ b/sci-libs/blas-goto/Manifest @@ -5,6 +5,7 @@ SHA256 0ce922ff68673c3a3c18b5299d57455404bbd044481997d57b4819160c43f70c files/es DIST GotoBLAS-1.09.tar.gz 1552150 RMD160 4c5326aaabf8af495d51a1159b2f4eb0edc145e4 SHA1 4e5d115ae5de0a011ea2f3744780737ee843d1a2 SHA256 075876000fd1a94f9036edf5e49f6aac2e543798107a73a78e59a41a5c6eae1b DIST GotoBLAS-1.11.tar.gz 1632357 RMD160 292f119f53d5b88a4b95998f294fd55cc1f6b3f9 SHA1 c6febb164efecb43f4d3ba847ada6120ef89398c SHA256 05697c943f9679fcda4513fe7cd32f475407d1204cc71b6608dfbd522547fafc DIST GotoBLAS-1.14.tar.gz 1732821 RMD160 e3c5def6b23d7cd0f02fb8b9feeae012d90a6b86 SHA1 7fd80728b39fc8ffc96077538c2df51ad2cf984c SHA256 a57b93c554910c0a43dccbc2663611ba15af9c4b539fc73d59aae148dc356eed +DIST GotoBLAS-1.16.tar.gz 1783818 RMD160 416f905cb07a3eaf03c85f4660865393403fe398 SHA1 24e0bec6e06f400754ba4d6fc1950a1beb83c95b SHA256 4a490f86648aa26fa1e5bfe4569224c8146d0086db90280eeff279f92cb8cbe5 EBUILD blas-goto-1.09.ebuild 3396 RMD160 4b0c75a377b9fe39232adb3fbb7ffc9094a792e6 SHA1 15da0c056322aa28ed2c4ff11cdd994d89aae70b SHA256 87afa4293edd5a6921b13f726b263822fef842e955f80759e7e6d0dc0f99148a MD5 617213c20e3cb03874f0852635c014d1 blas-goto-1.09.ebuild 3396 RMD160 4b0c75a377b9fe39232adb3fbb7ffc9094a792e6 blas-goto-1.09.ebuild 3396 @@ -17,10 +18,14 @@ EBUILD blas-goto-1.14.ebuild 3755 RMD160 84e3f9a02b65741a0539da5fb02f7b0233917bc MD5 4bff7e82337e24144b655d137192df7c blas-goto-1.14.ebuild 3755 RMD160 84e3f9a02b65741a0539da5fb02f7b0233917bcd blas-goto-1.14.ebuild 3755 SHA256 705d9b63dac71ef4db8a65bd749e4f5527c29f0b8c8ed974d3aa51db5597b67f blas-goto-1.14.ebuild 3755 -MISC ChangeLog 1434 RMD160 16ef0c2728275fed89c339c282166543a5b2b2c8 SHA1 25ae61d52862dfa2923e0f8dca5d1da216a20b51 SHA256 cd0dd6d27365737854c009ef3520e275a7312089de86c3db648120d8a3f7cd1d -MD5 dd6b843edf2d9af5b41fefefc0af6114 ChangeLog 1434 -RMD160 16ef0c2728275fed89c339c282166543a5b2b2c8 ChangeLog 1434 -SHA256 cd0dd6d27365737854c009ef3520e275a7312089de86c3db648120d8a3f7cd1d ChangeLog 1434 +EBUILD blas-goto-1.16.ebuild 3756 RMD160 5a90039701d3bcb86d4aee94ada4e2b1d22c516b SHA1 aacc68a56eb89f4fa76afd90ef1979b514b5ce00 SHA256 23b28763594c5e24b0cb7efe7c816381061c6d812bc3a18d5cb18d41744dfc04 +MD5 acfc581a0ed18b87690cfe6efa718d65 blas-goto-1.16.ebuild 3756 +RMD160 5a90039701d3bcb86d4aee94ada4e2b1d22c516b blas-goto-1.16.ebuild 3756 +SHA256 23b28763594c5e24b0cb7efe7c816381061c6d812bc3a18d5cb18d41744dfc04 blas-goto-1.16.ebuild 3756 +MISC ChangeLog 1577 RMD160 6f70323188dacbccaf4bdbb4d9267f5e8858514e SHA1 f623f25893139cfc229ffb8cf683cab42ff16e0b SHA256 496f501ec501417d7033f5b182c25b9c272874dab7839af158d70a9e08a23d30 +MD5 6b96ecd3bdaf762b7725c0966cb2576b ChangeLog 1577 +RMD160 6f70323188dacbccaf4bdbb4d9267f5e8858514e ChangeLog 1577 +SHA256 496f501ec501417d7033f5b182c25b9c272874dab7839af158d70a9e08a23d30 ChangeLog 1577 MISC metadata.xml 612 RMD160 9156a8f5eaa44e61506518e6c8c8cc1209003e71 SHA1 a45262b8866a17d8b4ceda3041a81f0b63d3ca79 SHA256 8dbf3f6bd947424f3c3893e31bfb420409da6e7714f13ba2a981fe52b8532ed2 MD5 b6915eda6b9a9696449cb92ce26df22e metadata.xml 612 RMD160 9156a8f5eaa44e61506518e6c8c8cc1209003e71 metadata.xml 612 @@ -34,3 +39,6 @@ SHA256 dead4b0b212cb26b7824bf3b9bc22efbc4d1434d0706eff9369fab30d17c0443 files/di MD5 e84852c07adb5c5291d9f5e9b590688a files/digest-blas-goto-1.14 244 RMD160 e86f92610d22dc21da384d01d0e535637a6a7e01 files/digest-blas-goto-1.14 244 SHA256 50c243ec08d4cd0fd3b1e41b2f8ae70623f8738964ec88241675d81b36f9ba59 files/digest-blas-goto-1.14 244 +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 new file mode 100644 index 000000000000..6ef45faa93dd --- /dev/null +++ b/sci-libs/blas-goto/blas-goto-1.16.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/blas-goto-1.16.ebuild,v 1.1 2007/08/20 13:42:22 markusle Exp $ + +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" +RESTRICT="mirror" +RDEPEND="app-admin/eselect-blas" + +DEPEND="${RDEPEND} + >=sys-devel/binutils-2.17" + +S="${WORKDIR}/${MY_PN}" +FORTRAN="g77 gfortran" # ifc g95 pgf77 pathf90 f90 f77 + +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 compiler + if [[ ${FORTRANC} = g77 ]]; then + F_COMPILER="G77" + elif [[ ${FORTRANC} = gfortran ]]; then + F_COMPILER="GFORTRAN" + # Otherwise, we get undefined reference to _gfortran_runtime_error + FORTRAN_LIB="-lgfortran" +# elif [[ ${FORTRANC} = ifc ]]; then +# F_COMPILER="INTEL" +# elif [[ ${FORTRANC} = g95 ]]; then +# F_COMPILER="G95" +# elif [[ ${FORTRANC} = pgf77 ]]; then +# F_COMPILER="PGI" +# elif [[ ${FORTRANC} = pathf90 ]]; then +# F_COMPILER="PATHSCALE" +# elif [[ ${FORTRANC} = f90 ]] || [[ ${FORTRANC} = f77 ]]; then +# F_COMPILER="SUN" +# elif [[ ${FORTRANC} = xlf ]]; then +# F_COMPILER="IBM" + else + die "fortran.eclass returned an invalid Fortran compiler \'${FORTRANC}\'; valid are ${FORTRAN}." + fi + + # Fix shared lib build + sed -i \ + -e "s:\(&& echo OK\):${FORTRAN_LIB} \1:g" \ + "${S}"/exports/Makefile + + # 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 + + # Threaded? + if use threads; then + sed -i \ + -e "s:^# \(SMP = 1\):\1:g" \ + "${S}"/Makefile.rule + fi + + # If you need a 64-bit binary + # 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 + fi + + # Respect CFLAGS/FFLAGS + sed -i \ + -e "/^COMMON_OPT += -O2$/d" \ + "${S}"/Makefile.rule + sed -i \ + -e "s:^\(CCOMMON_OPT += -D_GNU_SOURCE\)$:\1 ${CFLAGS}:g" \ + -e "s:^\(FCOMMON_OPT +=\)$:\1 ${FFLAGS:- -O2}:g" \ + "${S}"/Makefile.rule +} + +src_compile() { + + # Make static library + emake || die "emake failed" + + # Make shared library + cd exports + emake so -j1 || die "emake failed" +} + +src_test() { + cd test + emake || die "emake test failed" +} + +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 + + eselect blas add $(get_libdir) "${FILESDIR}"/eselect-goto goto +} + +pkg_postinst() { + if [[ -z $(eselect blas show) ]]; then + eselect blas set goto + fi +} diff --git a/sci-libs/blas-goto/files/digest-blas-goto-1.16 b/sci-libs/blas-goto/files/digest-blas-goto-1.16 new file mode 100644 index 000000000000..4bcd0425d105 --- /dev/null +++ b/sci-libs/blas-goto/files/digest-blas-goto-1.16 @@ -0,0 +1,3 @@ +MD5 fe1489037a3c2d69e7d5b9a05f14bfa9 GotoBLAS-1.16.tar.gz 1783818 +RMD160 416f905cb07a3eaf03c85f4660865393403fe398 GotoBLAS-1.16.tar.gz 1783818 +SHA256 4a490f86648aa26fa1e5bfe4569224c8146d0086db90280eeff279f92cb8cbe5 GotoBLAS-1.16.tar.gz 1783818 |