diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-05-08 07:12:28 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-05-08 07:12:28 +0000 |
commit | 78eeb6d7882da399ca0372b72399c82ef77c4013 (patch) | |
tree | 1ebb47271667f29ca7c4d1a479763cfbd3185f8a /sci-libs/blas-goto | |
parent | New features in WebMO version 7.0 include: (diff) | |
download | historical-78eeb6d7882da399ca0372b72399c82ef77c4013.tar.gz historical-78eeb6d7882da399ca0372b72399c82ef77c4013.tar.bz2 historical-78eeb6d7882da399ca0372b72399c82ef77c4013.zip |
Bump.
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'sci-libs/blas-goto')
-rw-r--r-- | sci-libs/blas-goto/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/blas-goto/Manifest | 26 | ||||
-rw-r--r-- | sci-libs/blas-goto/blas-goto-1.14.ebuild | 141 | ||||
-rw-r--r-- | sci-libs/blas-goto/files/digest-blas-goto-1.14 | 3 |
4 files changed, 163 insertions, 15 deletions
diff --git a/sci-libs/blas-goto/ChangeLog b/sci-libs/blas-goto/ChangeLog index 6938aab29263..11aeb874301e 100644 --- a/sci-libs/blas-goto/ChangeLog +++ b/sci-libs/blas-goto/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2007/02/19 16:21:09 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v 1.5 2007/05/08 07:12:28 dberkholz Exp $ + +*blas-goto-1.14 (08 May 2007) + + 08 May 2007; Donnie Berkholz <dberkholz@gentoo.org>; + +blas-goto-1.14.ebuild: + Bump. *blas-goto-1.11 (19 Feb 2007) diff --git a/sci-libs/blas-goto/Manifest b/sci-libs/blas-goto/Manifest index f03a8756864e..e9934289dc29 100644 --- a/sci-libs/blas-goto/Manifest +++ b/sci-libs/blas-goto/Manifest @@ -1,12 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX eselect-goto 140 RMD160 795f24085adeccd8f736ce205bed1ae1937f7329 SHA1 aaae84c45c26d372f34e4ddf053a7cb2d6bbfaea SHA256 0ce922ff68673c3a3c18b5299d57455404bbd044481997d57b4819160c43f70c MD5 90d71f801fc1cb8670ec358cb4191f59 files/eselect-goto 140 RMD160 795f24085adeccd8f736ce205bed1ae1937f7329 files/eselect-goto 140 SHA256 0ce922ff68673c3a3c18b5299d57455404bbd044481997d57b4819160c43f70c files/eselect-goto 140 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 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 @@ -15,10 +13,14 @@ EBUILD blas-goto-1.11.ebuild 3736 RMD160 ed78c2025363e7f9e5e66ede9ee734bfda5a79f MD5 4a3644a055f1a7100f25dd77a11e74e1 blas-goto-1.11.ebuild 3736 RMD160 ed78c2025363e7f9e5e66ede9ee734bfda5a79f1 blas-goto-1.11.ebuild 3736 SHA256 a7366001fa8d5b3fc6235bad2d467ae676279afa543b1b71060fda72cd8765cf blas-goto-1.11.ebuild 3736 -MISC ChangeLog 1000 RMD160 d63a50b439d646d6ab74ad597d6b1c3a18089021 SHA1 f74944b809879bf1a02e1cface391749f468ffa4 SHA256 a476fe127ad290a53d7686765d8f32113da996098eb7c88ad2db8d84ccb9ac48 -MD5 35e0923edf653345551443874df19893 ChangeLog 1000 -RMD160 d63a50b439d646d6ab74ad597d6b1c3a18089021 ChangeLog 1000 -SHA256 a476fe127ad290a53d7686765d8f32113da996098eb7c88ad2db8d84ccb9ac48 ChangeLog 1000 +EBUILD blas-goto-1.14.ebuild 3714 RMD160 28299f53220d67b4f90919b97f0b3889eb66801e SHA1 3201e494468b5c9bf9111711771f84aac1225dd7 SHA256 02d34a936bad27bd3414adde0b6496061d39663a26ac81b73812cfeeff7da475 +MD5 9cb9f5bc6d85a03a95966dc0cd6b06bf blas-goto-1.14.ebuild 3714 +RMD160 28299f53220d67b4f90919b97f0b3889eb66801e blas-goto-1.14.ebuild 3714 +SHA256 02d34a936bad27bd3414adde0b6496061d39663a26ac81b73812cfeeff7da475 blas-goto-1.14.ebuild 3714 +MISC ChangeLog 1122 RMD160 f5054ececaeaef4d9ac17c64cc03f35cf2ff7cae SHA1 3984a31fc712603a9a30f0c06eea1d295ea61066 SHA256 057decb1bed334da4f3e2d1060c642c119efcef5b637a5ec11ae3b06ed93b686 +MD5 a3aa3b589574b3ba82369534139fb1c7 ChangeLog 1122 +RMD160 f5054ececaeaef4d9ac17c64cc03f35cf2ff7cae ChangeLog 1122 +SHA256 057decb1bed334da4f3e2d1060c642c119efcef5b637a5ec11ae3b06ed93b686 ChangeLog 1122 MISC metadata.xml 612 RMD160 9156a8f5eaa44e61506518e6c8c8cc1209003e71 SHA1 a45262b8866a17d8b4ceda3041a81f0b63d3ca79 SHA256 8dbf3f6bd947424f3c3893e31bfb420409da6e7714f13ba2a981fe52b8532ed2 MD5 b6915eda6b9a9696449cb92ce26df22e metadata.xml 612 RMD160 9156a8f5eaa44e61506518e6c8c8cc1209003e71 metadata.xml 612 @@ -29,10 +31,6 @@ SHA256 fab8dc75952993b41b1f7307b19d74ef12ce8f8562c1133bd88f3a68d4aca7e2 files/di MD5 aa569f4b18a1f785095f8932df78baec files/digest-blas-goto-1.11 244 RMD160 5630657435642953fe0c0e5ae74bd2d2d965d49c files/digest-blas-goto-1.11 244 SHA256 dead4b0b212cb26b7824bf3b9bc22efbc4d1434d0706eff9369fab30d17c0443 files/digest-blas-goto-1.11 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) - -iD8DBQFF2c6CWc/Ciu+QQGkRAulzAKCaUNxKGXwYoDHzu5fF1+7JFurVRACfRV0x -y8BuyG9TVwHZQ3kjB2JNnP4= -=zxOs ------END PGP SIGNATURE----- +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 diff --git a/sci-libs/blas-goto/blas-goto-1.14.ebuild b/sci-libs/blas-goto/blas-goto-1.14.ebuild new file mode 100644 index 000000000000..d9da6a076243 --- /dev/null +++ b/sci-libs/blas-goto/blas-goto-1.14.ebuild @@ -0,0 +1,141 @@ +# 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.14.ebuild,v 1.1 2007/05/08 07:12:28 dberkholz 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}" +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 +=\)$:\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 01 Readme.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.14 b/sci-libs/blas-goto/files/digest-blas-goto-1.14 new file mode 100644 index 000000000000..e4e74bf09c78 --- /dev/null +++ b/sci-libs/blas-goto/files/digest-blas-goto-1.14 @@ -0,0 +1,3 @@ +MD5 4e0bf45fa52178268f7723292c254556 GotoBLAS-1.14.tar.gz 1732821 +RMD160 e3c5def6b23d7cd0f02fb8b9feeae012d90a6b86 GotoBLAS-1.14.tar.gz 1732821 +SHA256 a57b93c554910c0a43dccbc2663611ba15af9c4b539fc73d59aae148dc356eed GotoBLAS-1.14.tar.gz 1732821 |