diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-11-22 15:11:30 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-11-22 15:11:30 +0000 |
commit | a615b6bb637dbce82a859fe1d177068ecc50e98f (patch) | |
tree | 8d7fd8a5e78c4c92cc45bace6c188f96c27507d1 /sci-libs/blas-goto | |
parent | (#70689 comment #92) Start after consolefont to avoid display corruption. (diff) | |
download | historical-a615b6bb637dbce82a859fe1d177068ecc50e98f.tar.gz historical-a615b6bb637dbce82a859fe1d177068ecc50e98f.tar.bz2 historical-a615b6bb637dbce82a859fe1d177068ecc50e98f.zip |
Bump.
Package-Manager: portage-2.1.2_rc2
Diffstat (limited to 'sci-libs/blas-goto')
-rw-r--r-- | sci-libs/blas-goto/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/blas-goto/Manifest | 16 | ||||
-rw-r--r-- | sci-libs/blas-goto/blas-goto-1.09.ebuild | 129 | ||||
-rw-r--r-- | sci-libs/blas-goto/files/digest-blas-goto-1.09 | 3 |
4 files changed, 151 insertions, 5 deletions
diff --git a/sci-libs/blas-goto/ChangeLog b/sci-libs/blas-goto/ChangeLog index 31e62452a7e6..783a347bedd4 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v 1.1 2006/10/21 06:15:34 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v 1.2 2006/11/22 15:11:30 dberkholz Exp $ + +*blas-goto-1.09 (22 Nov 2006) + + 22 Nov 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +blas-goto-1.09.ebuild: + Bump. *blas-goto-1.08 (21 Oct 2006) diff --git a/sci-libs/blas-goto/Manifest b/sci-libs/blas-goto/Manifest index 374f6d07f678..87d888d96c38 100644 --- a/sci-libs/blas-goto/Manifest +++ b/sci-libs/blas-goto/Manifest @@ -3,14 +3,19 @@ MD5 90d71f801fc1cb8670ec358cb4191f59 files/eselect-goto 140 RMD160 795f24085adeccd8f736ce205bed1ae1937f7329 files/eselect-goto 140 SHA256 0ce922ff68673c3a3c18b5299d57455404bbd044481997d57b4819160c43f70c files/eselect-goto 140 DIST GotoBLAS-1.08.tar.gz 1555562 RMD160 5918b34e7a3417e54130c1b9182b3ca033ed80e5 SHA1 6b2c8b69daca1c8dd399cdb321c2b311d1b637f0 SHA256 367dc91fc8784a91e9941548209ade93a4216aed656adb2e54f2ac25ce44152a +DIST GotoBLAS-1.09.tar.gz 1552150 RMD160 4c5326aaabf8af495d51a1159b2f4eb0edc145e4 SHA1 4e5d115ae5de0a011ea2f3744780737ee843d1a2 SHA256 075876000fd1a94f9036edf5e49f6aac2e543798107a73a78e59a41a5c6eae1b EBUILD blas-goto-1.08.ebuild 3396 RMD160 bcfc7369a8fb5aefdd6c9780ec29fb155f638ea6 SHA1 2d5da507e7deac9053f5ffcc904143f29480d119 SHA256 f8c5b2a1c131a232fc688601f5c8d241d939c991f1e7c86dbdb5b9d556db6c4f MD5 c8192c78c1915efda69b1bb7693d016f blas-goto-1.08.ebuild 3396 RMD160 bcfc7369a8fb5aefdd6c9780ec29fb155f638ea6 blas-goto-1.08.ebuild 3396 SHA256 f8c5b2a1c131a232fc688601f5c8d241d939c991f1e7c86dbdb5b9d556db6c4f blas-goto-1.08.ebuild 3396 -MISC ChangeLog 522 RMD160 240ee21cd4a5d9a20dacd4066d13324da5bb60a7 SHA1 592f0d78eff469acf4fb25ab8295d15c5c506828 SHA256 a394377ee22a2f909ca29253154181000ffb9af708e268f40a297ff56a058001 -MD5 b8a1bf1fd9fc2683996385ed6f52689a ChangeLog 522 -RMD160 240ee21cd4a5d9a20dacd4066d13324da5bb60a7 ChangeLog 522 -SHA256 a394377ee22a2f909ca29253154181000ffb9af708e268f40a297ff56a058001 ChangeLog 522 +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 +SHA256 87afa4293edd5a6921b13f726b263822fef842e955f80759e7e6d0dc0f99148a blas-goto-1.09.ebuild 3396 +MISC ChangeLog 643 RMD160 ba0c72e19d05c5decd2b9e747d64d5b10110d31f SHA1 ad508cdef47bb3809f0eac865ffbd6f0f233a22a SHA256 a72d749759c8288e7723117c8a36f06d14cdf33d77e3da7be7b489f518c0b198 +MD5 471893ac42e85829449e1a4b645b66e1 ChangeLog 643 +RMD160 ba0c72e19d05c5decd2b9e747d64d5b10110d31f ChangeLog 643 +SHA256 a72d749759c8288e7723117c8a36f06d14cdf33d77e3da7be7b489f518c0b198 ChangeLog 643 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 @@ -18,3 +23,6 @@ SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata MD5 32863035b05ef25ea3891b5909d3d004 files/digest-blas-goto-1.08 244 RMD160 5d8fba1fe5876f06e2ba5951d3ad664d14865024 files/digest-blas-goto-1.08 244 SHA256 dd249f79b68f1e510fb6b183a69c26b05aed8218904040c09518aec8aba19ce3 files/digest-blas-goto-1.08 244 +MD5 ec8a7a80624d404a1bf0ca5dbbdd0f8c files/digest-blas-goto-1.09 244 +RMD160 8ec5a807b53d3ff55335fd775c1984d55001fa22 files/digest-blas-goto-1.09 244 +SHA256 fab8dc75952993b41b1f7307b19d74ef12ce8f8562c1133bd88f3a68d4aca7e2 files/digest-blas-goto-1.09 244 diff --git a/sci-libs/blas-goto/blas-goto-1.09.ebuild b/sci-libs/blas-goto/blas-goto-1.09.ebuild new file mode 100644 index 000000000000..1f23259724f4 --- /dev/null +++ b/sci-libs/blas-goto/blas-goto-1.09.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2006 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.09.ebuild,v 1.1 2006/11/22 15:11:30 dberkholz Exp $ + +inherit eutils fortran 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" +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" \ + "${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_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 + + 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.09 b/sci-libs/blas-goto/files/digest-blas-goto-1.09 new file mode 100644 index 000000000000..2a95ce1befb2 --- /dev/null +++ b/sci-libs/blas-goto/files/digest-blas-goto-1.09 @@ -0,0 +1,3 @@ +MD5 df24e67b50ad56723a6595682afe5856 GotoBLAS-1.09.tar.gz 1552150 +RMD160 4c5326aaabf8af495d51a1159b2f4eb0edc145e4 GotoBLAS-1.09.tar.gz 1552150 +SHA256 075876000fd1a94f9036edf5e49f6aac2e543798107a73a78e59a41a5c6eae1b GotoBLAS-1.09.tar.gz 1552150 |