From: Markus Dittrich Date: Sat, 9 Dec 2006 13:56:01 +0000 (+0000) Subject: Version bump. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7954316e50e0b303894d579fa5596fe300ba2965;p=gentoo.git Version bump. Package-Manager: portage-2.1.2_rc2-r4 --- diff --git a/sci-libs/lapack-atlas/ChangeLog b/sci-libs/lapack-atlas/ChangeLog index 65584f2213cb..e83a8e83a2e2 100644 --- a/sci-libs/lapack-atlas/ChangeLog +++ b/sci-libs/lapack-atlas/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/lapack-atlas # Copyright 2004-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.32 2006/11/01 00:55:41 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/ChangeLog,v 1.33 2006/12/09 13:56:01 markusle Exp $ + +*lapack-atlas-3.7.23 (09 Dec 2006) + + 09 Dec 2006; Markus Dittrich + +lapack-atlas-3.7.23.ebuild: + Version bump. 01 Nov 2006; Donnie Berkholz ; ChangeLog: Update for my nick change spyderous -> dberkholz. diff --git a/sci-libs/lapack-atlas/Manifest b/sci-libs/lapack-atlas/Manifest index ada8cc582ed3..2f828a54afc3 100644 --- a/sci-libs/lapack-atlas/Manifest +++ b/sci-libs/lapack-atlas/Manifest @@ -27,11 +27,13 @@ MD5 13d26350d75e6993f1b3ec48ca97f14e files/war 545 RMD160 6f44c25e739703f988180959608094aa633db7bf files/war 545 SHA256 696a8e1cc3918ce5d19f0aa41250d5f052244527a5e3804b025db7938f06ae7b files/war 545 DIST atlas-3.7.19-shared-libs.patch.bz2 6295 RMD160 d9bf35bd529decd7245c929356b383d5ac4972e4 SHA1 077d8c65139f191e658a972e858d49984dfb6cd4 SHA256 874aa6b2be5ec5dbe576a5a6c8d0a11755a2043b8b437aa52c4b077adb2fed26 +DIST atlas-3.7.23-shared-libs.patch.bz2 6324 RMD160 b3fd87430994d09860a6fd1d494934e90c0ecf41 SHA1 a4f5296c708aa34ed394470c3f30277080629e86 SHA256 895ed8243f23074ad0a343c3aded59468e2f3d6acfa886c840f7f81d32718241 DIST atlas3.6.0-shared-libs.3.patch.bz2 5140 RMD160 d6085b2729f2b8ed917b1d0a85339bd07f4192f9 SHA1 a9f234416bdbc1a752196f48707a066687fdfeb2 SHA256 9cd442b35c869c90b569154bf82a8f18c92fb5e0221c26c7cff23b0a7e9e2cd8 DIST atlas3.6.0-shared-libs.patch.bz2 5140 RMD160 2c266377cd60b24b7710fcf1d6d4be9c32797d64 SHA1 ec4c87075c03133e0f1e2fe22cd9768124c758b7 SHA256 6fd8281d42de14d34e4f1e25cb9f4b142f6e66c8dc1030763761f8033eb38e89 DIST atlas3.6.0.tar.bz2 1687723 RMD160 e7d40a6677ce7c4442df7152150aecf812020713 SHA1 61dd7ace2f43e9a10864148a71fa443a6eae2c3d SHA256 1c2ad68fe3c66e261c012788fc1b6f74eada791f713848a3a6420c50fa35c8e8 DIST atlas3.7.11.tar.bz2 2032724 RMD160 f58b8a85c097bd1bff6a53ee42bcff97240fb8ec SHA1 7806c43147535f6422bdaacb4416aa06a5de0f07 SHA256 558b9f3f0dc8f63306f99f75d6e6fa762ea3d9d0dea88053e3e8b6f0e6364109 DIST atlas3.7.19.tar.bz2 1748440 RMD160 958508bc1dcf03a0a347931817371de5dcb569f7 SHA1 0efa832a46c3cc8474cc850fa6933a8b73e50bc6 SHA256 a4cbd3bf05dfe53883d698e3f7b64dd0c244b14814d5ea4cbeb541348a1f4256 +DIST atlas3.7.23.tar.bz2 1776072 RMD160 765eb87e714b43c53b399a861f28e8ff27682e32 SHA1 32bda68c13eded620c68333a0373bf4ec691e032 SHA256 048cf7e2f1ae1a0581642019388b6f72894ca46e797e0548ac2cb7975481e253 DIST lapack-20020531-20021004.patch.bz2 59736 RMD160 126a579d242664dce53d23cdd7bef935e81b5031 SHA1 64f0e180a296c35a8050af293a6582e48d3394ae SHA256 19bcae60fcec3742563d8b27e21da52677b18520c54cf0cb7a51537ec3dbd29c DIST lapack-gentoo.patch 1272 RMD160 2bc28b1c8bbc7b77d977562e3550097bdb2a379b SHA1 8bf5087aa105be61032afd50f94a31cd3c362c9f SHA256 376b738c66dbbd8b116c3a48b99c1202dbd5c1c6c94865cf9df10ed48b78fb43 DIST lapack.tgz 4991992 RMD160 630f9d7b4b37b0d39bccd4816198271b7e9e0cce SHA1 47d85508d87d60e32b613ef0c951d0be4bf10e72 SHA256 393613641f80745e7e8445fd0f3e4f5f66a5e340c8115cd4d780b0f53e2b31a6 @@ -59,10 +61,14 @@ EBUILD lapack-atlas-3.7.19.ebuild 4946 RMD160 531ffd0a3704e34dc96e2f6f35eda12567 MD5 05919fa4f17e96bc3852dd5d50e162cf lapack-atlas-3.7.19.ebuild 4946 RMD160 531ffd0a3704e34dc96e2f6f35eda1256716d1ae lapack-atlas-3.7.19.ebuild 4946 SHA256 85cdf77f640152f596b168de58eb975a27da18ff99e05dea534cc849e60a7a8f lapack-atlas-3.7.19.ebuild 4946 -MISC ChangeLog 8501 RMD160 71dc507ed3f72b5a0f8dc892cb124512504ef4de SHA1 894d98ad1be7482968511383ee25840bb5d300c6 SHA256 b9ae44666816b22b3b1948920c49e6e2dbf92efbe1e8c5fd1466dc6d75aa3f05 -MD5 5089312f40367262bca33a878f0a114a ChangeLog 8501 -RMD160 71dc507ed3f72b5a0f8dc892cb124512504ef4de ChangeLog 8501 -SHA256 b9ae44666816b22b3b1948920c49e6e2dbf92efbe1e8c5fd1466dc6d75aa3f05 ChangeLog 8501 +EBUILD lapack-atlas-3.7.23.ebuild 4946 RMD160 9d42c0ba14bb82d8c9ab0420cd677fc1380f0020 SHA1 8dc353057bddcdea210e64f64714e8d033b96e46 SHA256 72a8f9687eaa127cc8a36e947f4556e4826bbbf4c1fcb5dfb650bd86425c84d2 +MD5 362d05bfa2c05bcb6aef12205e6377d7 lapack-atlas-3.7.23.ebuild 4946 +RMD160 9d42c0ba14bb82d8c9ab0420cd677fc1380f0020 lapack-atlas-3.7.23.ebuild 4946 +SHA256 72a8f9687eaa127cc8a36e947f4556e4826bbbf4c1fcb5dfb650bd86425c84d2 lapack-atlas-3.7.23.ebuild 4946 +MISC ChangeLog 8637 RMD160 a3dfc49b082d8617c236bb8f57084e0814bc2367 SHA1 6a0bb493db9ac771656e14efccb2303f1142f520 SHA256 bf201bc62c1d0d50e9b1fcb80b2a8abdb53bc7c51535c81e098a99957be06ec6 +MD5 bc9b0438f7a6f28603420dd4f895261e ChangeLog 8637 +RMD160 a3dfc49b082d8617c236bb8f57084e0814bc2367 ChangeLog 8637 +SHA256 bf201bc62c1d0d50e9b1fcb80b2a8abdb53bc7c51535c81e098a99957be06ec6 ChangeLog 8637 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 @@ -85,3 +91,6 @@ SHA256 7abbea8b0726d30986843355a91120d6ea353bf9125e2c8d594e4fbaa4454e40 files/di MD5 57bba94dfe3fa2a26646b2dee8f83070 files/digest-lapack-atlas-3.7.19 1012 RMD160 f9c6e080219f7bd7237d2c7602490aa7ad8c5641 files/digest-lapack-atlas-3.7.19 1012 SHA256 a0a927fa10db1553700b232d6ecb82aa493a7c664720b52d830cc0ab3f618dd2 files/digest-lapack-atlas-3.7.19 1012 +MD5 835be4d6a82eef4215d3d752cf19e154 files/digest-lapack-atlas-3.7.23 1012 +RMD160 d275ce01f627711aed69e2167aca4ae6c651afe3 files/digest-lapack-atlas-3.7.23 1012 +SHA256 7c746e0a167236b903f61d4c53486956e3dad92eab219401d66092e220d9a829 files/digest-lapack-atlas-3.7.23 1012 diff --git a/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.23 b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.23 new file mode 100644 index 000000000000..6382e74b2900 --- /dev/null +++ b/sci-libs/lapack-atlas/files/digest-lapack-atlas-3.7.23 @@ -0,0 +1,12 @@ +MD5 4d28b9a878db79ba5567c76d225097a1 atlas-3.7.23-shared-libs.patch.bz2 6324 +RMD160 b3fd87430994d09860a6fd1d494934e90c0ecf41 atlas-3.7.23-shared-libs.patch.bz2 6324 +SHA256 895ed8243f23074ad0a343c3aded59468e2f3d6acfa886c840f7f81d32718241 atlas-3.7.23-shared-libs.patch.bz2 6324 +MD5 44c7e7807db212b6d526aa560049f4a1 atlas3.7.23.tar.bz2 1776072 +RMD160 765eb87e714b43c53b399a861f28e8ff27682e32 atlas3.7.23.tar.bz2 1776072 +SHA256 048cf7e2f1ae1a0581642019388b6f72894ca46e797e0548ac2cb7975481e253 atlas3.7.23.tar.bz2 1776072 +MD5 c35802e688f28f8f65632fb93aad69d8 lapack-20020531-20021004.patch.bz2 59736 +RMD160 126a579d242664dce53d23cdd7bef935e81b5031 lapack-20020531-20021004.patch.bz2 59736 +SHA256 19bcae60fcec3742563d8b27e21da52677b18520c54cf0cb7a51537ec3dbd29c lapack-20020531-20021004.patch.bz2 59736 +MD5 a24f59304f87b78cdc7da2ae59c98664 lapack.tgz 4991992 +RMD160 630f9d7b4b37b0d39bccd4816198271b7e9e0cce lapack.tgz 4991992 +SHA256 393613641f80745e7e8445fd0f3e4f5f66a5e340c8115cd4d780b0f53e2b31a6 lapack.tgz 4991992 diff --git a/sci-libs/lapack-atlas/lapack-atlas-3.7.23.ebuild b/sci-libs/lapack-atlas/lapack-atlas-3.7.23.ebuild new file mode 100644 index 000000000000..cad2793a837e --- /dev/null +++ b/sci-libs/lapack-atlas/lapack-atlas-3.7.23.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-atlas/lapack-atlas-3.7.23.ebuild,v 1.1 2006/12/09 13:56:01 markusle Exp $ + +inherit eutils flag-o-matic toolchain-funcs fortran + +DESCRIPTION="Full LAPACK implementation using available ATLAS routines" +LICENSE="BSD" +HOMEPAGE="http://math-atlas.sourceforge.net/" +MY_PN="${PN/lapack-/}" +SRC_URI1="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2" +SRC_URI2="http://www.netlib.org/lapack/lapack.tgz" +SRC_URI="${SRC_URI1} ${SRC_URI2} + mirror://gentoo/lapack-20020531-20021004.patch.bz2 + mirror://gentoo/${MY_PN}-${PV}-shared-libs.patch.bz2" + +SLOT="0" +IUSE="doc" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="virtual/blas + app-admin/eselect-lapack" + +DEPEND="${RDEPEND} + >=sys-devel/libtool-1.5 + ~sci-libs/blas-atlas-3.7.23" + +PROVIDE="virtual/lapack" + +FORTRAN="g77 gfortran" + +S="${WORKDIR}/ATLAS" +S_LAPACK="${WORKDIR}/LAPACK" +BLD_DIR="${S}/gentoo-build" +RPATH="${DESTTREE}/$(get_libdir)/lapack/atlas" + +pkg_setup() { + fortran_pkg_setup + echo + ewarn "Please make sure to disable CPU throttling completely" + ewarn "during the compile of lapack-atlas. Otherwise, all atlas" + ewarn "generated timings will be completely random and the" + ewarn "performance of the resulting libraries will be degraded" + ewarn "considerably." + echo + epause 8 +} + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + + epatch "${DISTDIR}"/${MY_PN}-${PV}-shared-libs.patch.bz2 + epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch + epatch "${DISTDIR}"/lapack-20020531-20021004.patch.bz2 + epatch "${FILESDIR}"/lapack-reference-3.0-autotool.patch + + cd "${S}" + mkdir ${BLD_DIR} || die "failed to generate build directory" + cp "${FILESDIR}"/war "${BLD_DIR}" && chmod a+x "${BLD_DIR}"/war \ + || die "failed to install war" + + # make sure the compile picks up the proper includes + sed -e 's|INCLUDES =|INCLUDES = -I/usr/include/atlas/|' \ + -i CONFIG/src/SpewMakeInc.c || \ + die "failed to append proper includes" + + # force proper 32/64bit libs + local archselect + if [[ "${ARCH}" == "amd64" || "${ARCH}" == "ppc64" ]]; then + archselect="-b 64" + else + archselect="-b 32" + fi + + # set up compiler/flags using atlas' native configure + local compdefs + compdefs="${compdefs} -C xc '$(tc-getCC)' -F xc '${CFLAGS}'" + compdefs="${compdefs} -C ic '$(tc-getCC)' -F ic '${CFLAGS}'" + compdefs="${compdefs} -C sk '$(tc-getCC)' -F sk '${CFLAGS}'" + compdefs="${compdefs} -C dk '$(tc-getCC)' -F dk '${CFLAGS}'" + compdefs="${compdefs} -C sm '$(tc-getCC)' -F sm '${CFLAGS}'" + compdefs="${compdefs} -C dm '$(tc-getCC)' -F dm '${CFLAGS}'" + compdefs="${compdefs} -C if '${FORTRANC}' -F if '${FFLAGS}'" + compdefs="${compdefs} -Si cputhrchk 0 ${archselect}" + + + cd ${BLD_DIR} && ../configure ${compdefs} \ + || die "configure failed" + + cd "${S_LAPACK}" + eautoreconf +} + +src_compile() { + # build atlas' part of lapack + cd "${BLD_DIR}"/src/lapack + make lib || die "Failed to make lib in ${BLD_DIR}/src/lapack" + + cd "${BLD_DIR}"/interfaces/lapack/C/src + make lib || die "Failed to make lib in ${BLD_DIR}/interfaces/lapack/C/src" + + cd "${BLD_DIR}"/interfaces/lapack/F77/src + make lib || die "Failed to make lib in ${BLD_DIR}/interfaces/lapack/F77/src" + + # build rest of lapack + cd "${S_LAPACK}" + econf || die "Failed to configure reference lapack lib" + emake || die "Failed to make reference lapack lib" + + cd "${S_LAPACK}"/SRC + einfo "Copying liblapack.a/*.o to ${S_LAPACK}/SRC" + cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.o . + einfo "Copying liblapack.a/*.lo to ${S_LAPACK}/SRC" + cp -sf "${BLD_DIR}"/gentoo/liblapack.a/*.lo . + einfo "Copying liblapack.a/.libs/*.o to ${S_LAPACK}/SRC" + cp -sf "${BLD_DIR}"/gentoo/liblapack.a/.libs/*.o .libs/ + + # make sure shared libs link against proper libraries + if [[ ${FORTRANC} == "gfortran" ]]; then + libs="${LDFLAGS} -lpthread -lgfortran" + else + libs="${LDFLAGS} -lpthread -lg2c" + fi + + ../libtool --mode=link --tag=F77 ${FORTRANC} -lblas -lcblas \ + -latlas ${libs} -o liblapack.la *.lo -rpath "${RPATH}" \ + || die "Failed to create liblapack.la" +} + +src_install () { + dodir "${RPATH}" + + cd "${S_LAPACK}"/SRC + ../libtool --mode=install install -s liblapack.la \ + "${D}/${RPATH}" \ + || die "Failed to install lapack-atlas library" + + eselect lapack add $(get_libdir) ${FILESDIR}/eselect.lapack atlas + + insinto /usr/include/atlas + cd "${S}"/include + doins clapack.h || die "Failed to install clapack.h" + + cd "${S}" + dodoc README doc/AtlasCredits.txt doc/ChangeLog || \ + die "Failed to install docs" + if use doc; then + dodoc doc/lapackqref.ps || die "Failed to install docs" + fi +} + +pkg_postinst() { + if [[ -z "$(eselect lapack show)" ]]; then + eselect lapack set atlas + fi + + elog + elog "To link with ATLAS LAPACK from C or Fortran, simply use:" + elog + elog "-llapack" + elog + elog "C users: your header is /usr/include/atlas/clapack.h" + elog + elog "Configuration now uses eselect rather than lapack-config." +}