diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-01-24 10:24:21 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-01-24 10:24:21 +0000 |
commit | 3c405fc9192227ca820542d5182377b2ad36c54b (patch) | |
tree | 9312432a9379ca410d58c773021d09d1e96daa99 /sci-libs/blas-goto | |
parent | Version bump wrt #205926. (diff) | |
download | historical-3c405fc9192227ca820542d5182377b2ad36c54b.tar.gz historical-3c405fc9192227ca820542d5182377b2ad36c54b.tar.bz2 historical-3c405fc9192227ca820542d5182377b2ad36c54b.zip |
Version bump
Package-Manager: portage-2.1.4
Diffstat (limited to 'sci-libs/blas-goto')
-rw-r--r-- | sci-libs/blas-goto/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/blas-goto/Manifest | 32 | ||||
-rw-r--r-- | sci-libs/blas-goto/blas-goto-1.22.ebuild | 168 | ||||
-rw-r--r-- | sci-libs/blas-goto/files/blas.pc.in | 2 | ||||
-rw-r--r-- | sci-libs/blas-goto/files/digest-blas-goto-1.22 | 3 |
5 files changed, 200 insertions, 15 deletions
diff --git a/sci-libs/blas-goto/ChangeLog b/sci-libs/blas-goto/ChangeLog index 969fbd2a1c93..96b6a3218029 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.13 2007/10/11 17:38:06 bicatali Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v 1.14 2008/01/24 10:24:20 bicatali Exp $ + +*blas-goto-1.22 (24 Jan 2008) + + 24 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> files/blas.pc.in, + +blas-goto-1.22.ebuild: + Version bump 11 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org> blas-goto-1.19.ebuild: diff --git a/sci-libs/blas-goto/Manifest b/sci-libs/blas-goto/Manifest index d766a841f1d3..065d03e3a22c 100644 --- a/sci-libs/blas-goto/Manifest +++ b/sci-libs/blas-goto/Manifest @@ -1,23 +1,28 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -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 blas.pc.in 292 RMD160 b5ddc452918fb54851cfe24447e1c10d67586943 SHA1 8586cdea51a3094e92871c16ec97e2cfbdc75320 SHA256 aa28cff8ba3f30fdf56e2619eff0655f5b43a062cfe03c1d51e8b4716b1a1e6d +MD5 c6879271c07ff61a959260780807d42a files/blas.pc.in 292 +RMD160 b5ddc452918fb54851cfe24447e1c10d67586943 files/blas.pc.in 292 +SHA256 aa28cff8ba3f30fdf56e2619eff0655f5b43a062cfe03c1d51e8b4716b1a1e6d files/blas.pc.in 292 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.19.tar.gz 1935724 RMD160 ef3ac23815802ddd622a41e79dc473efad2663aa SHA1 2bbd8ac24d441d1b7ed91ea8bbd84d23c8cc131f SHA256 68961f6e81d91c81898fa0b89c8632fc5d4f4fe60f8d0019e90b1a45d3486bdb +DIST GotoBLAS-1.22.tar.gz 2055354 RMD160 2eec2605a10e3e6fff1d3db2be21d774f5c0e804 SHA1 4f170dbb0b4ef337ed78efd78d7c5a1dad4bd8c4 SHA256 a5479c4f2e78d3116536675a83df5d2dc23648f90a69babb646b69d02f695d6c EBUILD blas-goto-1.19.ebuild 4382 RMD160 c251d9a4dbc01d23691d52aec866f6da5842d1d0 SHA1 c6a63909dbf98091e1dc3544a3b836cae1b107ff SHA256 656cc13e1b0a224960318c9441ad46b71b008ba62f7920775043c3a1dd094160 MD5 e50d7ddc3b653057bb93b0a0b8c771e7 blas-goto-1.19.ebuild 4382 RMD160 c251d9a4dbc01d23691d52aec866f6da5842d1d0 blas-goto-1.19.ebuild 4382 SHA256 656cc13e1b0a224960318c9441ad46b71b008ba62f7920775043c3a1dd094160 blas-goto-1.19.ebuild 4382 -MISC ChangeLog 2606 RMD160 7198e530660221b60b1e675a4bd201e337bc7d95 SHA1 8f1b5d05b72e9a49d0a06cd60cbce2b26fa6b9d3 SHA256 d46b5ce04a8464062e1343b6641b45a08e33bb0a9aa1007e7db927669fef1014 -MD5 79dfd5b63b1ca92a343b70571f85c0e4 ChangeLog 2606 -RMD160 7198e530660221b60b1e675a4bd201e337bc7d95 ChangeLog 2606 -SHA256 d46b5ce04a8464062e1343b6641b45a08e33bb0a9aa1007e7db927669fef1014 ChangeLog 2606 +EBUILD blas-goto-1.22.ebuild 4375 RMD160 df88b4a1ec66e59ee50a8ca8eb70e47351da3992 SHA1 0279feaff01cf4668dd8576aa3bb849818f55d43 SHA256 34ee78d33fafb2b86a1eed067db1fa5159731511281631c499e8d8dceb8b6792 +MD5 d700b09786aa3cd114254720440b865f blas-goto-1.22.ebuild 4375 +RMD160 df88b4a1ec66e59ee50a8ca8eb70e47351da3992 blas-goto-1.22.ebuild 4375 +SHA256 34ee78d33fafb2b86a1eed067db1fa5159731511281631c499e8d8dceb8b6792 blas-goto-1.22.ebuild 4375 +MISC ChangeLog 2752 RMD160 03dc3e8d75e9fd09becfc1d8465c4cd5ce199048 SHA1 f47e67b3f4ecb7f2df5ae67f0764c64aab8409b7 SHA256 e91836d2d28c27fc2623f2754bb716d6da00d36050ef68c39d572d9c47be47a4 +MD5 90147d706c5abc98312ef17d3cfec601 ChangeLog 2752 +RMD160 03dc3e8d75e9fd09becfc1d8465c4cd5ce199048 ChangeLog 2752 +SHA256 e91836d2d28c27fc2623f2754bb716d6da00d36050ef68c39d572d9c47be47a4 ChangeLog 2752 MISC metadata.xml 612 RMD160 9156a8f5eaa44e61506518e6c8c8cc1209003e71 SHA1 a45262b8866a17d8b4ceda3041a81f0b63d3ca79 SHA256 8dbf3f6bd947424f3c3893e31bfb420409da6e7714f13ba2a981fe52b8532ed2 MD5 b6915eda6b9a9696449cb92ce26df22e metadata.xml 612 RMD160 9156a8f5eaa44e61506518e6c8c8cc1209003e71 metadata.xml 612 @@ -25,10 +30,13 @@ SHA256 8dbf3f6bd947424f3c3893e31bfb420409da6e7714f13ba2a981fe52b8532ed2 metadata MD5 2b24d6c3527fc12b203ad17394ddac98 files/digest-blas-goto-1.19 244 RMD160 5d4fc444af110dd54c783a84b83bfbd46a2149d6 files/digest-blas-goto-1.19 244 SHA256 aa13e205777228c6000598dffcccb54a114d06b256374ea3be5f71f63cf83156 files/digest-blas-goto-1.19 244 +MD5 2b3f05dd38d201461ec4a0a6bec11fd0 files/digest-blas-goto-1.22 244 +RMD160 58624b5ffe48b68426ac32de5284ea0ccf03185b files/digest-blas-goto-1.22 244 +SHA256 57a86bd3dcfa09bce5ebda1636273177a56b34662a675248fc76266b61f63564 files/digest-blas-goto-1.22 244 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.7 (GNU/Linux) +Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHDl+D1ycZbhPLE2ARArUqAJoCJs68C7HTaCTGuhpf1y1vQsMHqQCfSxJm -8sEidHwIkhZzFS6LlpJaBAs= -=4qte +iD8DBQFHmGdd1ycZbhPLE2ARAl1EAKCImP1nm7amDD7G8B/a6RLt5fegnQCdE39P +98BvkkrHJTI1h/nyHF7jodE= +=gmqm -----END PGP SIGNATURE----- diff --git a/sci-libs/blas-goto/blas-goto-1.22.ebuild b/sci-libs/blas-goto/blas-goto-1.22.ebuild new file mode 100644 index 000000000000..cf7cc2e90268 --- /dev/null +++ b/sci-libs/blas-goto/blas-goto-1.22.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2008 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.22.ebuild,v 1.1 2008/01/24 10:24:20 bicatali Exp $ + +inherit eutils fortran flag-o-matic toolchain-funcs + +MY_PN="GotoBLAS" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Fast 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 + if [[ -z "${FFLAGS}" ]]; then + ewarn "FORTRAN FFLAGS undefined, using -O2" + export FFLAGS="-O2" + fi + + sed -i \ + -e '/^CFLAGS/s:=:+=:' \ + -e '/^FFLAGS/s:=:+=:' \ + "${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_PROF=goto + eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.goto ${ESELECT_PROF} +} + +pkg_postinst() { + local p=blas + local current_lib=$(eselect ${p} show | cut -d' ' -f2) + if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then + # work around eselect bug #189942 + local configfile="${ROOT}"/etc/env.d/${p}/$(get_libdir)/config + [[ -e ${configfile} ]] && rm -f ${configfile} + eselect ${p} set ${ESELECT_PROF} + elog "${p} has been eselected to ${ESELECT_PROF}" + else + elog "Current eselected ${p} is ${current_lib}" + elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):" + elog "\t eselect ${p} set ${ESELECT_PROF}" + fi +} diff --git a/sci-libs/blas-goto/files/blas.pc.in b/sci-libs/blas-goto/files/blas.pc.in index 81940962c48a..e0caa5dc2b3a 100644 --- a/sci-libs/blas-goto/files/blas.pc.in +++ b/sci-libs/blas-goto/files/blas.pc.in @@ -1,6 +1,6 @@ prefix=/usr exec_prefix=${prefix} -libdir=/usr/@LIBDIR@ +libdir=${prefix}/@LIBDIR@ includedir=${prefix}/include Name: blas diff --git a/sci-libs/blas-goto/files/digest-blas-goto-1.22 b/sci-libs/blas-goto/files/digest-blas-goto-1.22 new file mode 100644 index 000000000000..db5d09011b49 --- /dev/null +++ b/sci-libs/blas-goto/files/digest-blas-goto-1.22 @@ -0,0 +1,3 @@ +MD5 30bf16eac7311a3018628825782d9506 GotoBLAS-1.22.tar.gz 2055354 +RMD160 2eec2605a10e3e6fff1d3db2be21d774f5c0e804 GotoBLAS-1.22.tar.gz 2055354 +SHA256 a5479c4f2e78d3116536675a83df5d2dc23648f90a69babb646b69d02f695d6c GotoBLAS-1.22.tar.gz 2055354 |