diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-09-05 20:49:04 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-09-05 20:49:04 +0000 |
commit | ff84b7b098acfec72d8db6bc1193900e26b2052b (patch) | |
tree | f2efd7f6d795ddd74843686703270055ceb2ebe2 /sci-libs/blas-atlas | |
parent | Add reference to CVE for last security fix. (diff) | |
download | gentoo-2-ff84b7b098acfec72d8db6bc1193900e26b2052b.tar.gz gentoo-2-ff84b7b098acfec72d8db6bc1193900e26b2052b.tar.bz2 gentoo-2-ff84b7b098acfec72d8db6bc1193900e26b2052b.zip |
Removed old versions
(Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64)
Diffstat (limited to 'sci-libs/blas-atlas')
19 files changed, 14 insertions, 1193 deletions
diff --git a/sci-libs/blas-atlas/ChangeLog b/sci-libs/blas-atlas/ChangeLog index 10ca17c09219..3e236024d65f 100644 --- a/sci-libs/blas-atlas/ChangeLog +++ b/sci-libs/blas-atlas/ChangeLog @@ -1,6 +1,19 @@ # ChangeLog for sci-libs/blas-atlas # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/ChangeLog,v 1.86 2008/08/28 09:48:46 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/ChangeLog,v 1.87 2008/09/05 20:49:03 bicatali Exp $ + + 05 Sep 2008; Sébastien Fabbro <bicatali@gentoo.org> + -files/3.7.11-allow-any-gcc-version.patch, + -files/blas-atlas-3.9.1-Core2Duo-detect.patch, + -files/3.6.0-ppc-configure.patch, -files/3.7.11-ppc-configure.patch, + -files/blas-atlas-3.9.1-timing.patch, -files/c-ATLAS, + -files/c-threaded-ATLAS, -files/eselect.blas, -files/eselect.cblas, + -files/f77-ATLAS, -files/f77-threaded-ATLAS, + -files/gnuc_default_fix.patch, -files/unbuffered.patch, + -blas-atlas-3.6.0-r1.ebuild, -blas-atlas-3.6.0-r2.ebuild, + -blas-atlas-3.7.11.ebuild, -blas-atlas-3.7.11-r1.ebuild, + -blas-atlas-3.9.2.ebuild: + Removed old versions 28 Aug 2008; Raúl Porcel <armin76@gentoo.org> blas-atlas-3.8.0.ebuild, blas-atlas-3.9.3.ebuild: diff --git a/sci-libs/blas-atlas/blas-atlas-3.6.0-r1.ebuild b/sci-libs/blas-atlas/blas-atlas-3.6.0-r1.ebuild deleted file mode 100644 index 782d29e5ee93..000000000000 --- a/sci-libs/blas-atlas/blas-atlas-3.6.0-r1.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.6.0-r1.ebuild,v 1.15 2007/10/11 17:03:20 bicatali Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation" -HOMEPAGE="http://math-atlas.sourceforge.net/" -MY_PN=${PN/blas-/} -SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2 - mirror://gentoo/atlas${PV}-shared-libs.1.patch.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 ppc ppc64 sparc x86" -IUSE="doc" - -DEPEND="sci-libs/blas-config - >=sys-devel/libtool-1.5" - -RDEPEND="" - -S="${WORKDIR}/ATLAS" - -# Libraries will be installed in ${RPATH}/atlas -# and ${RPATH}/threaded-atlas: -RPATH="${DESTTREE}/lib/blas" - -pkg_setup() { - if [[ -z `type -P g77` ]]; then - eerror "No fortran compiler found on the system!" - eerror "Please add fortran to your USE flags and reemerge gcc!" - die - fi - ewarn "You probably want to go for testing ${PN}, this version" - ewarn "is particurlaly buggy, does not provide virtuals, and will go away soon." - ewarn "Try ${PN} >= 3.7.39 for a working blas/cblas" - epause 5 -} - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/unbuffered.patch - epatch "${DISTDIR}"/atlas3.6.0-shared-libs.1.patch.bz2 - epatch "${FILESDIR}"/${PV}-ppc-configure.patch - sed -i -e "s:ASM:ASM VOLATILE:" include/contrib/camm_dpa.h || die "sed failed to fix clobbering" - cp "${FILESDIR}"/war "${S}" - chmod a+x "${S}"/war -} - -atlas_fail() { - eerror - eerror "ATLAS auto-config failed." - eerror "Please run 'interactive=1 emerge blas-atlas' to configure manually." - eerror - die "ATLAS auto-config failed." -} - -# Added to allow compilation on sparc architecture. The default CCFLAG0 -# and MMFLAGS are *bad*. -# Danny van Dyk <kugelfang@gentoo.org> 2004/07/02 -# -reconfigure() { - case "`uname -p`" in - "sun4m") - MY_CCFLAGS="-O3 -mcpu=v8" - MY_CXXFLAGS="${MY_CCFLAGS}" - MY_MMFLAGS="-O -mcpu=v8" - MY_LDFLAGS="" - ;; - "sun4u") - MY_CCFLAGS="-O3 -mcpu=ultrasparc" - MY_CXXFLAGS="${MY_CCFLAGS}" - MY_MMFLAGS="-O -mcpu=ultrasparc" - MY_LDFLAGS="" - ;; - *) - MY_CCFLAGS="${CFLAGS}" - MY_CXXFLAGS="${CXXFLAGS}" - MY_MMFLAGS="${CFLAGS}" - MY_LDFLAGS="${LDFLAGS}" - ;; - esac - - MY_FILE="`find -name Make.Linux*`" - - sed -i -e "s/CCFLAG0 =.*/CCFLAG0 = \$(CDEFS) ${MY_CCFLAGS}/" \ - -e "s/CCFLAGS =.*/CCFLAGS = \$(CDEFS) ${MY_CCFLAGS}/" \ - -e "s/CLINKFLAGS =.*/CLINKFLAGS =\$(CDEFS) ${MY_LDFLAGS}/" \ - -e "s/XCCFLAGS =.*/XCCFLAGS =\$(CDEFS) ${MY_CXXFLAGS}/" \ - -e "s/MMFLAGS =.*/MMFLAGS = ${MY_MMFLAGS}/" \ - ${MY_FILE} || die "sed didnt complete" - -} - -src_compile() { - if [ -n "${interactive}" ] - then - echo "${interactive}" - make config CC="$(tc-getCC) -DUSE_LIBTOOL -DINTERACTIVE" || die - else - # Use ATLAS defaults for all questions: - (echo | make config CC="$(tc-getCC) -DUSE_LIBTOOL") || atlas_fail - fi - - reconfigure - - TMPSTR=$(ls Make.Linux*) - ATLAS_ARCH=${TMPSTR#'Make.'} - - make install arch=${ATLAS_ARCH} || die - - make shared-strip arch=${ATLAS_ARCH} RPATH=${RPATH}/atlas || die - - # Build shared versions of the threaded libs. - # ATLAS only compiles threaded libs on multiprocessor machines. - if [ -d gentoo/libptf77blas.a ] - then - make ptshared-strip \ - arch=${ATLAS_ARCH} RPATH=${RPATH}/threaded-atlas || die - fi -} - -src_install () { - dodir ${RPATH}/atlas - cd "${S}"/gentoo/libs - cp -P libatlas* "${D}/${DESTTREE}"/lib - cp -P *blas* "${D}/${RPATH}"/atlas #the rest really - - insinto ${RPATH} - doins "${FILESDIR}"/c-ATLAS "${FILESDIR}"/f77-ATLAS - - if [ -d "${S}"/gentoo/threaded-libs ] - then - dodir ${RPATH}/threaded-atlas - cd "${S}"/gentoo/threaded-libs - cp -P * "${D}/${RPATH}"/threaded-atlas - doins "${FILESDIR}"/c-threaded-ATLAS "${FILESDIR}"/f77-threaded-ATLAS - fi - - insinto ${DESTTREE}/include/atlas - doins "${S}"/include/cblas.h "${S}"/include/atlas_misc.h - doins "${S}"/include/atlas_enum.h - - # These headers contain the architecture-specific optimizations determined - # by ATLAS. The atlas-lapack build is much shorter if they are available, - # so save them: - doins "${S}"/include/${ATLAS_ARCH}/*.h - - #some docs - cd "${S}" - dodoc README doc/{AtlasCredits.txt,ChangeLog} - use doc && dodoc doc/*.ps -} - -pkg_postinst() { - if [ -d ${RPATH}/threaded-atlas ] - then - ${DESTTREE}/bin/blas-config threaded-ATLAS - else - ${DESTTREE}/bin/blas-config ATLAS - fi - - einfo - einfo "Fortran users link using -lblas" - einfo - einfo "C users compile against the header /usr/include/atlas/cblas.h and" - einfo "link using -lcblas" - einfo -} diff --git a/sci-libs/blas-atlas/blas-atlas-3.6.0-r2.ebuild b/sci-libs/blas-atlas/blas-atlas-3.6.0-r2.ebuild deleted file mode 100644 index 858a3e7b9abc..000000000000 --- a/sci-libs/blas-atlas/blas-atlas-3.6.0-r2.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.6.0-r2.ebuild,v 1.10 2007/10/11 17:03:20 bicatali Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation" -HOMEPAGE="http://math-atlas.sourceforge.net/" -MY_PN=${PN/blas-/} -SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2 - mirror://gentoo/atlas${PV}-shared-libs.1.patch.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ppc64 sparc x86" -IUSE="doc" - -RDEPEND="app-admin/eselect-blas - app-admin/eselect-cblas" -DEPEND="${RDEPEND} - >=sys-devel/libtool-1.5" - -S="${WORKDIR}/ATLAS" - -# Libraries will be installed in ${RPATH}/atlas -# and ${RPATH}/threaded-atlas: -RPATH="${DESTTREE}/lib/blas" - -pkg_setup() { - if [[ -z `type -P g77` ]]; then - eerror "No fortran compiler found on the system!" - eerror "Please add fortran to your USE flags and reemerge gcc!" - die - fi - ewarn "You probably want to go for testing ${PN}, this version" - ewarn "is particurlaly buggy, does not provide virtuals, and will go away soon." - ewarn "Try ${PN} >= 3.7.39 for a working blas/cblas" - epause 5 -} - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/unbuffered.patch - epatch "${DISTDIR}"/atlas3.6.0-shared-libs.1.patch.bz2 - epatch "${FILESDIR}"/${PV}-ppc-configure.patch - sed -i -e "s:ASM:ASM VOLATILE:" include/contrib/camm_dpa.h || die "sed failed to fix clobbering" - cp "${FILESDIR}"/war "${S}" - chmod a+x "${S}"/war -} - -atlas_fail() { - eerror - eerror "ATLAS auto-config failed." - eerror "Please run 'interactive=1 emerge blas-atlas' to configure manually." - eerror - die "ATLAS auto-config failed." -} - -# Added to allow compilation on sparc architecture. The default CCFLAG0 -# and MMFLAGS are *bad*. -# Danny van Dyk <kugelfang@gentoo.org> 2004/07/02 -# -reconfigure() { - case "`uname -p`" in - "sun4m") - MY_CCFLAGS="-O3 -mcpu=v8" - MY_CXXFLAGS="${MY_CCFLAGS}" - MY_MMFLAGS="-O -mcpu=v8" - MY_LDFLAGS="" - ;; - "sun4u") - MY_CCFLAGS="-O3 -mcpu=ultrasparc" - MY_CXXFLAGS="${MY_CCFLAGS}" - MY_MMFLAGS="-O -mcpu=ultrasparc" - MY_LDFLAGS="" - ;; - *) - MY_CCFLAGS="${CFLAGS}" - MY_CXXFLAGS="${CXXFLAGS}" - MY_MMFLAGS="${CFLAGS}" - MY_LDFLAGS="${LDFLAGS}" - ;; - esac - - MY_FILE="`find -name Make.Linux*`" - - sed -i -e "s/CCFLAG0 =.*/CCFLAG0 = \$(CDEFS) ${MY_CCFLAGS}/" \ - -e "s/CCFLAGS =.*/CCFLAGS = \$(CDEFS) ${MY_CCFLAGS}/" \ - -e "s/CLINKFLAGS =.*/CLINKFLAGS =\$(CDEFS) ${MY_LDFLAGS}/" \ - -e "s/XCCFLAGS =.*/XCCFLAGS =\$(CDEFS) ${MY_CXXFLAGS}/" \ - -e "s/MMFLAGS =.*/MMFLAGS = ${MY_MMFLAGS}/" \ - ${MY_FILE} || die "sed didnt complete" - -} - -src_compile() { - if [ -n "${interactive}" ] - then - echo "${interactive}" - make config CC="$(tc-getCC) -DUSE_LIBTOOL -DINTERACTIVE" || die - else - # Use ATLAS defaults for all questions: - (echo | make config CC="$(tc-getCC) -DUSE_LIBTOOL") || atlas_fail - fi - - reconfigure - - TMPSTR=$(ls Make.Linux*) - ATLAS_ARCH=${TMPSTR#'Make.'} - - make install arch=${ATLAS_ARCH} || die - - make shared-strip arch=${ATLAS_ARCH} RPATH=${RPATH}/atlas || die - - # Build shared versions of the threaded libs. - # ATLAS only compiles threaded libs on multiprocessor machines. - if [ -d gentoo/libptf77blas.a ] - then - make ptshared-strip \ - arch=${ATLAS_ARCH} RPATH=${RPATH}/threaded-atlas || die - fi -} - -src_install () { - dodir ${RPATH}/atlas - cd "${S}"/gentoo/libs - cp -P libatlas* "${D}/${DESTTREE}"/lib - cp -P *blas* "${D}/${RPATH}"/atlas #the rest really - - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas atlas - eselect cblas add $(get_libdir) "${FILESDIR}"/eselect.cblas atlas - - if [ -d "${S}"/gentoo/threaded-libs ] - then - dodir ${RPATH}/threaded-atlas - cd "${S}"/gentoo/threaded-libs - cp -P * "${D}/${RPATH}"/threaded-atlas - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas-threaded threaded-atlas - eselect cblas add $(get_libdir) "${FILESDIR}"/eselect.cblas-threaded threaded-atlas - fi - - insinto ${DESTTREE}/include/atlas - doins "${S}"/include/cblas.h "${S}"/include/atlas_misc.h - doins "${S}"/include/atlas_enum.h - - # These headers contain the architecture-specific optimizations determined - # by ATLAS. The atlas-lapack build is much shorter if they are available, - # so save them: - doins "${S}"/include/${ATLAS_ARCH}/*.h - - #some docs - cd "${S}" - dodoc README doc/{AtlasCredits.txt,ChangeLog} - use doc && dodoc doc/*.ps -} - -pkg_postinst() { - local THREADED - - if [ -d ${RPATH}/threaded-atlas ] - then - THREADED="threaded-" - fi - if [[ -z "$(eselect blas show)" ]]; then - eselect blas set ${THREADED}atlas - fi - if [[ -z "$(eselect cblas show)" ]]; then - eselect cblas set ${THREADED}atlas - fi - - elog - elog "Fortran users link using -lblas" - elog - elog "C users compile against the header "${ROOT}"usr/include/atlas/cblas.h and" - elog "link using -lcblas" - elog - elog "If using threaded ATLAS, you may also need to link with -lpthread." - elog - elog "Configuration now uses eselect rather than blas-config." -} diff --git a/sci-libs/blas-atlas/blas-atlas-3.7.11-r1.ebuild b/sci-libs/blas-atlas/blas-atlas-3.7.11-r1.ebuild deleted file mode 100644 index 068b7fbe5946..000000000000 --- a/sci-libs/blas-atlas/blas-atlas-3.7.11-r1.ebuild +++ /dev/null @@ -1,207 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.7.11-r1.ebuild,v 1.16 2007/10/11 17:03:20 bicatali Exp $ - -inherit eutils toolchain-funcs fortran - -DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation" -HOMEPAGE="http://math-atlas.sourceforge.net/" -MY_PN=${PN/blas-/} -MY_PV=3.6.0 -SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2 - mirror://gentoo/atlas${MY_PV}-shared-libs.3.patch.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" -IUSE="doc" - -RDEPEND="app-admin/eselect-blas - app-admin/eselect-cblas" -DEPEND="${RDEPEND} - >=sys-devel/libtool-1.5" - -S="${WORKDIR}/ATLAS" -RPATH="${DESTTREE}/$(get_libdir)/blas" -FORTRAN="g77 gfortran" - -pkg_setup() { - ewarn "You probably want to go for testing ${PN}, this version" - ewarn "is particurlaly buggy, does not provide virtuals, and will go away soon." - ewarn "Try ${PN} >= 3.7.39 for a working blas/cblas" - epause 5 - fortran_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/unbuffered.patch - epatch "${FILESDIR}"/${PV}-allow-any-gcc-version.patch - epatch "${DISTDIR}"/atlas3.6.0-shared-libs.3.patch.bz2 - epatch "${FILESDIR}"/${PV}-ppc-configure.patch - epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch - - sed -i \ - -e "s:\(\t./xconfig\):\1 -m $(tc-getCC) -c $(tc-getCC) -f ${FORTRANC}:g" \ - "${S}"/Makefile \ - || die "Failed to fix compilers" - - if [[ $(gcc-major-version) -ge 4 ]]; then - einfo "Updating Makefiles for gcc-4" - sed -i \ - -e "s:g2c:gfortran:g" \ - "${S}"/Make.top \ - "${S}"/makes/Make.lib \ - || die "Failed to update for gcc-4" - fi - - # make sure shared libs link against proper libraries - if [[ ${FORTRANC} == "gfortran" ]]; then - libs="-lpthread -lgfortran" - else - libs="-lpthread -lg2c" - fi - sed -e "s/SHRD_LNK/${libs}/g" -i Make.top || \ - die "Failed to add addtional libs to shared object build" - - cp "${FILESDIR}"/war "${S}" - chmod a+x "${S}"/war -} - -atlas_fail() { - eerror - eerror "ATLAS auto-config failed." - eerror "Please run 'interactive=1 emerge blas-atlas' to configure manually." - eerror - die "ATLAS auto-config failed." -} - -# Added to allow compilation on sparc architecture. The default CCFLAG0 -# and MMFLAGS are *bad*. -# Danny van Dyk <kugelfang@gentoo.org> 2004/07/02 -# -reconfigure() { - case "`uname -p`" in - "sun4m") - MY_CCFLAGS="-O3 -mcpu=v8" - MY_CXXFLAGS="${MY_CCFLAGS}" - MY_MMFLAGS="-O -mcpu=v8" - MY_LDFLAGS="" - ;; - "sun4u") - MY_CCFLAGS="-O3 -mcpu=ultrasparc" - MY_CXXFLAGS="${MY_CCFLAGS}" - MY_MMFLAGS="-O -mcpu=ultrasparc" - MY_LDFLAGS="" - ;; - *) - MY_CCFLAGS="${CFLAGS}" - MY_CXXFLAGS="${CXXFLAGS}" - MY_MMFLAGS="${CFLAGS}" - MY_LDFLAGS="${LDFLAGS}" - ;; - esac - - MY_FILE="`find -name Make.Linux*`" - - sed -i -e "s/CCFLAG0 =.*/CCFLAG0 = \$(CDEFS) ${MY_CCFLAGS}/" \ - -e "s/CCFLAGS =.*/CCFLAGS = \$(CDEFS) ${MY_CCFLAGS}/" \ - -e "s/CLINKFLAGS =.*/CLINKFLAGS =\$(CDEFS) ${MY_LDFLAGS}/" \ - -e "s/XCCFLAGS =.*/XCCFLAGS =\$(CDEFS) ${MY_CXXFLAGS}/" \ - -e "s/MMFLAGS =.*/MMFLAGS = ${MY_MMFLAGS}/" \ - ${MY_FILE} || die "sed didnt complete" -} - -src_compile() { - if [ -n "${interactive}" ] - then - echo "${interactive}" - make config CC="$(tc-getCC) -DUSE_LIBTOOL -DINTERACTIVE" || die - else - # Use ATLAS defaults for all questions: - (echo | make config CC="$(tc-getCC) -DUSE_LIBTOOL") || atlas_fail - fi - - reconfigure - - TMPSTR=$(ls Make.Linux*) - ATLAS_ARCH=${TMPSTR#'Make.'} - - make install arch=${ATLAS_ARCH} || \ - die "Failed to install blas-atlas" - - make shared-strip arch=${ATLAS_ARCH} RPATH=${RPATH}/atlas || \ - die "Failed to build shared libraries" - - # Build shared versions of the threaded libs. - # ATLAS only compiles threaded libs on multiprocessor machines. - if [ -d gentoo/libptf77blas.a ] - then - make ptshared-strip \ - arch=${ATLAS_ARCH} RPATH=${RPATH}/threaded-atlas || die - fi -} - -src_install () { - dodir "${RPATH}"/atlas - cd "${S}"/gentoo/libs - cp -P libatlas* "${D}/${DESTTREE}/$(get_libdir)" || \ - die "Failed to install libatlas" - cp -P *blas* "${D}/${RPATH}"/atlas || \ - die "Failed to install blas/cblas" - - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas atlas - eselect cblas add $(get_libdir) "${FILESDIR}"/eselect.cblas atlas - - if [ -d "${S}"/gentoo/threaded-libs ] - then - dodir "${RPATH}"/threaded-atlas - cd "${S}"/gentoo/threaded-libs - cp -P * "${D}/${RPATH}"/threaded-atlas || \ - die "Failed to install threaded atlas" - - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas-threaded threaded-atlas - eselect cblas add $(get_libdir) "${FILESDIR}"/eselect.cblas-threaded threaded-atlas - fi - - insinto "${DESTTREE}"/include/atlas - doins "${S}"/include/cblas.h "${S}"/include/atlas_misc.h - doins "${S}"/include/atlas_enum.h - - # These headers contain the architecture-specific - # optimizations determined by ATLAS. The atlas-lapack build - # is much shorter if they are available, so save them: - doins "${S}/include/${ATLAS_ARCH}"/*.h - - #some docs - cd "${S}" - dodoc README doc/{AtlasCredits.txt,ChangeLog} - use doc && dodoc doc/*.ps -} - -pkg_postinst() { - local THREADED - - if [ -d "${RPATH}"/threaded-atlas ] - then - THREADED="threaded-" - fi - if [[ -z "$(eselect blas show)" ]]; then - eselect blas set ${THREADED}atlas - fi - if [[ -z "$(eselect cblas show)" ]]; then - eselect cblas set ${THREADED}atlas - fi - - elog - elog "Fortran users link using -lblas" - elog - elog "C users compile against the header "${ROOT}"usr/include/atlas/cblas.h and" - elog "link using -lcblas" - elog - elog "If using threaded ATLAS, you may also need to link with -lpthread." - elog - elog "Configuration now uses eselect rather than blas-config." -} diff --git a/sci-libs/blas-atlas/blas-atlas-3.7.11.ebuild b/sci-libs/blas-atlas/blas-atlas-3.7.11.ebuild deleted file mode 100644 index 321153d1a066..000000000000 --- a/sci-libs/blas-atlas/blas-atlas-3.7.11.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.7.11.ebuild,v 1.21 2007/10/11 17:03:20 bicatali Exp $ - -inherit eutils toolchain-funcs fortran - -DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation" -HOMEPAGE="http://math-atlas.sourceforge.net/" -MY_PN=${PN/blas-/} -MY_PV=3.6.0 -SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2 - mirror://gentoo/atlas${MY_PV}-shared-libs.3.patch.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" -IUSE="doc" - -RDEPEND="sci-libs/blas-config" -DEPEND="${RDEPEND} - >=sys-devel/libtool-1.5" - -S="${WORKDIR}/ATLAS" -RPATH="${DESTTREE}/$(get_libdir)/blas" -FORTRAN="g77 gfortran" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/unbuffered.patch - epatch "${FILESDIR}"/${PV}-allow-any-gcc-version.patch - epatch "${DISTDIR}"/atlas3.6.0-shared-libs.3.patch.bz2 - epatch "${FILESDIR}"/${PV}-ppc-configure.patch - sed -i \ - -e "s:ASM:ASM VOLATILE:" \ - include/contrib/camm_dpa.h \ - || die "sed failed to fix clobbering" - - sed -i \ - -e "s:\(\t./xconfig\):\1 -m $(tc-getCC) -c $(tc-getCC) -f ${FORTRANC}:g" \ - "${S}"/Makefile \ - || die "Failed to fix compilers" - - if [[ $(gcc-major-version) -ge 4 ]]; then - einfo "Updating Makefiles for gcc-4" - sed -i \ - -e "s:g2c:gfortran:g" \ - "${S}"/Make.top \ - "${S}"/makes/Make.lib \ - || die "Failed to update for gcc-4" - fi - - # make sure shared libs link against proper libraries - if [[ ${FORTRANC} == "gfortran" ]]; then - libs="-lpthread -lgfortran" - else - libs="-lpthread -lg2c" - fi - sed -e "s/SHRD_LNK/${libs}/g" -i Make.top || \ - die "Failed to add addtional libs to shared object build" - - cp "${FILESDIR}"/war "${S}" - chmod a+x "${S}"/war -} - -atlas_fail() { - eerror - eerror "ATLAS auto-config failed." - eerror "Please run 'interactive=1 emerge blas-atlas' to configure manually." - eerror - die "ATLAS auto-config failed." -} - -# Added to allow compilation on sparc architecture. The default CCFLAG0 -# and MMFLAGS are *bad*. -# Danny van Dyk <kugelfang@gentoo.org> 2004/07/02 -# -reconfigure() { - case "`uname -p`" in - "sun4m") - MY_CCFLAGS="-O3 -mcpu=v8" - MY_CXXFLAGS="${MY_CCFLAGS}" - MY_MMFLAGS="-O -mcpu=v8" - MY_LDFLAGS="" - ;; - "sun4u") - MY_CCFLAGS="-O3 -mcpu=ultrasparc" - MY_CXXFLAGS="${MY_CCFLAGS}" - MY_MMFLAGS="-O -mcpu=ultrasparc" - MY_LDFLAGS="" - ;; - *) - MY_CCFLAGS="${CFLAGS}" - MY_CXXFLAGS="${CXXFLAGS}" - MY_MMFLAGS="${CFLAGS}" - MY_LDFLAGS="${LDFLAGS}" - ;; - esac - - MY_FILE="`find -name Make.Linux*`" - - sed -i -e "s/CCFLAG0 =.*/CCFLAG0 = \$(CDEFS) ${MY_CCFLAGS}/" \ - -e "s/CCFLAGS =.*/CCFLAGS = \$(CDEFS) ${MY_CCFLAGS}/" \ - -e "s/CLINKFLAGS =.*/CLINKFLAGS =\$(CDEFS) ${MY_LDFLAGS}/" \ - -e "s/XCCFLAGS =.*/XCCFLAGS =\$(CDEFS) ${MY_CXXFLAGS}/" \ - -e "s/MMFLAGS =.*/MMFLAGS = ${MY_MMFLAGS}/" \ - ${MY_FILE} || die "sed didnt complete" -} - -src_compile() { - if [ -n "${interactive}" ] - then - echo "${interactive}" - make config CC="$(tc-getCC) -DUSE_LIBTOOL -DINTERACTIVE" || die - else - # Use ATLAS defaults for all questions: - (echo | make config CC="$(tc-getCC) -DUSE_LIBTOOL") || atlas_fail - fi - - reconfigure - - TMPSTR=$(ls Make.Linux*) - ATLAS_ARCH=${TMPSTR#'Make.'} - - make install arch=${ATLAS_ARCH} || \ - die "Failed to install blas-atlas" - - make shared-strip arch=${ATLAS_ARCH} RPATH=${RPATH}/atlas || \ - die "Failed to build shared libraries" - - # Build shared versions of the threaded libs. - # ATLAS only compiles threaded libs on multiprocessor machines. - if [ -d gentoo/libptf77blas.a ] - then - make ptshared-strip \ - arch=${ATLAS_ARCH} RPATH=${RPATH}/threaded-atlas || die - fi -} - -src_install () { - dodir "${RPATH}"/atlas - cd "${S}"/gentoo/libs - cp -P libatlas* "${D}/${DESTTREE}/$(get_libdir)" || \ - die "Failed to install libatlas" - cp -P *blas* "${D}/${RPATH}"/atlas || \ - die "Failed to install blas/cblas" - - insinto "${RPATH}" - doins "${FILESDIR}"/c-ATLAS "${FILESDIR}"/f77-ATLAS - - if [ -d "${S}"/gentoo/threaded-libs ] - then - dodir "${RPATH}"/threaded-atlas - cd "${S}"/gentoo/threaded-libs - cp -P * "${D}/${RPATH}"/threaded-atlas || \ - die "Failed to install threaded atlas" - doins "${FILESDIR}"/c-threaded-ATLAS \ - "${FILESDIR}"/f77-threaded-ATLAS - fi - - insinto "${DESTTREE}"/include/atlas - doins "${S}"/include/cblas.h "${S}"/include/atlas_misc.h - doins "${S}"/include/atlas_enum.h - - # These headers contain the architecture-specific - # optimizations determined by ATLAS. The atlas-lapack build - # is much shorter if they are available, so save them: - doins "${S}/include/${ATLAS_ARCH}"/*.h - - #some docs - cd "${S}" - dodoc README doc/{AtlasCredits.txt,ChangeLog} - use doc && dodoc doc/*.ps -} - -pkg_postinst() { - if [ -d "${RPATH}"/threaded-atlas ] - then - ${DESTTREE}/bin/blas-config threaded-ATLAS - else - ${DESTTREE}/bin/blas-config ATLAS - fi - - einfo - einfo "Fortran users link using -lblas" - einfo - einfo "C users compile against the header /usr/include/atlas/cblas.h and" - einfo "link using -lcblas" - einfo -} diff --git a/sci-libs/blas-atlas/blas-atlas-3.9.2.ebuild b/sci-libs/blas-atlas/blas-atlas-3.9.2.ebuild deleted file mode 100644 index 748fc4929e64..000000000000 --- a/sci-libs/blas-atlas/blas-atlas-3.9.2.ebuild +++ /dev/null @@ -1,229 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.9.2.ebuild,v 1.1 2008/08/10 15:45:21 markusle Exp $ - -inherit eutils toolchain-funcs fortran multilib - -PATCH_V="3.9.0" - -DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation" -HOMEPAGE="http://math-atlas.sourceforge.net/" -MY_PN=${PN/blas-/} -SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2 - mirror://gentoo/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc" - -RDEPEND="app-admin/eselect-blas - app-admin/eselect-cblas - doc? ( app-doc/blas-docs )" -DEPEND="app-admin/eselect-blas - app-admin/eselect-cblas - >=sys-devel/libtool-1.5" - -S="${WORKDIR}/ATLAS" - -pkg_setup() { - # icc won't compile (as of icc-10.0.026) - # and will blow out $PORTAGE_TMPDIR - if [[ $(tc-getCC) = icc* ]]; then - eerror "icc compiler is not supported with sci-libs/blas-atlas" - die "blas-atlas won't compile with icc" - fi - - FORTRAN="g77 gfortran ifc" - fortran_pkg_setup - echo - ewarn "Please make sure to disable CPU throttling completely" - ewarn "during the compile of blas-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 - ewarn "For users of <=gcc-4.1 only:" - ewarn "If you experience failing SANITY tests during" - ewarn "atlas' compile please try passing -mfpmath=387; this" - ewarn "option might also result in much better performance" - ewarn "than using then sse instruction set depending on your" - ewarn "CPU." - echo - epause 10 -} - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${DISTDIR}"/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2 - epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch - epatch "${FILESDIR}"/${MY_PN}-${PATCH_V}-decl-fix.patch - - BLD_DIR="${S}"/gentoo-build - mkdir "${BLD_DIR}" || die "failed to generate build directory" - cd "${BLD_DIR}" - cp "${FILESDIR}"/war . && chmod a+x war || die "failed to install war" - - local archselect= - if use amd64 || use ppc64; then - archselect="-b 64" - elif use alpha; then - archselect="" - else - archselect="-b 32" - fi - - # unfortunately, atlas-3.9.0 chokes when passed - # x86_64-pc-linux-gnu-gcc and friends instead of - # plain gcc. Hence, we'll have to workaround this - # until it is fixed by upstream - local c_compiler=$(tc-getCC) - if [[ "${c_compiler}" == *gcc* ]]; then - c_compiler="gcc" - fi - - ../configure \ - --cc="${c_compiler}" \ - --cflags="${CFLAGS}" \ - --prefix="${D}/${DESTTREE}" \ - --libdir="${D}/${DESTTREE}"/$(get_libdir)/atlas \ - --incdir="${D}/${DESTTREE}"/include \ - -C ac "${c_compiler}" -F ac "${CFLAGS}" \ - -C if ${FORTRANC} -F if "${FFLAGS:-'-O2'}" \ - -Ss pmake "\$(MAKE) ${MAKEOPTS}" \ - -Si cputhrchk 0 ${archselect} \ - || die "configure failed" -} - -src_compile() { - cd "${BLD_DIR}" - - # atlas does its own parallel builds - emake -j1 || die "emake failed" - - RPATH="${DESTTREE}"/$(get_libdir)/blas - make \ - LIBDIR=$(get_libdir) \ - RPATH="${RPATH}"/atlas \ - shared || die "failed to build shared libraries" - - # build shared libraries of threaded libraries if applicable - if [[ -d gentoo/libptcblas.a ]]; then - make \ - LIBDIR=$(get_libdir) \ - RPATH="${RPATH}"/threaded-atlas \ - ptshared || die "failed to build threaded shared libraries" - fi -} - -src_test() { - # make check does not work because - # we don't build lapack libs - for i in F77 C; do - einfo "Testing ${i} interface" - cd "${BLD_DIR}"/interfaces/blas/${i}/testing - make sanity_test || die "emake tests for ${i} failed" - if [[ -d "${BLD_DIR}"/gentoo/libptf77blas.a ]]; then - make ptsanity_test || die "emake tests threaded for ${i}failed" - fi - done - echo "Timing ATLAS" - cd "${BLD_DIR}" - emake time || die "emake time failed" -} - -src_install () { - dodir "${RPATH}"/atlas - cd "${BLD_DIR}"/gentoo/libs - cp -P libatlas* "${D}/${DESTTREE}"/$(get_libdir) \ - || die "Failed to install libatlas" - - # pkgconfig files - local extlibs="-lm" - local threadlibs - [[ ${FORTRANC} == gfortran ]] && extlibs="${extlibs} -lgfortran" - [[ ${FORTRANC} == g77 ]] && extlibs="${extlibs} -lg2c" - cp "${FILESDIR}"/blas.pc.in blas.pc - cp "${FILESDIR}"/cblas.pc.in cblas.pc - sed -i \ - -e "s:@LIBDIR@:$(get_libdir):" \ - -e "s:@PV@:${PV}:" \ - -e "s:@EXTLIBS@:${extlibs}:g" \ - -e "s:@THREADLIBS@:${threadlibs}:g" \ - *blas.pc || die "sed *blas.pc failed" - - cp -P *blas* "${D}/${RPATH}"/atlas \ - || die "Failed to install blas/cblas" - - ESELECT_PROF=atlas - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.atlas ${ESELECT_PROF} - eselect cblas add $(get_libdir) "${FILESDIR}"/eselect.cblas.atlas ${ESELECT_PROF} - - if [[ -d "${BLD_DIR}"/gentoo/threaded-libs ]]; then - dodir "${RPATH}"/threaded-atlas - cd "${BLD_DIR}"/gentoo/threaded-libs - - # pkgconfig files - cp "${FILESDIR}"/blas.pc.in blas.pc - cp "${FILESDIR}"/cblas.pc.in cblas.pc - threadlibs="-lpthread" - sed -i \ - -e "s:@LIBDIR@:$(get_libdir):" \ - -e "s:@PV@:${PV}:" \ - -e "s:@EXTLIBS@:${extlibs}:g" \ - -e "s:@THREADLIBS@:${threadlibs}:g" \ - *blas.pc || die "sed *blas.pc failed" - - cp -P * "${D}/${RPATH}"/threaded-atlas \ - || die "Failed to install threaded atlas" - ESELECT_PROF=atlas-threads - - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.threaded-atlas ${ESELECT_PROF} - eselect cblas add $(get_libdir) "${FILESDIR}"/eselect.cblas.threaded-atlas ${ESELECT_PROF} - fi - - insinto "${DESTTREE}"/include/atlas - doins \ - "${S}"/include/cblas.h \ - "${S}"/include/atlas_misc.h \ - "${S}"/include/atlas_enum.h \ - || die "failed to install headers" - - # These headers contain the architecture-specific - # optimizations determined by ATLAS. The atlas-lapack build - # is much shorter if they are available, so save them: - doins "${BLD_DIR}"/include/*.h \ - || die "failed to install timing headers" - - # some docs - cd "${S}"/doc - dodoc INDEX.txt AtlasCredits.txt ChangeLog || die "dodoc failed" - # atlas specific doc (blas generic docs installed by blas-docs) - if use doc; then - insinto /usr/share/doc/${PF} - doins atlas*pdf cblasqref.pdf || die "doins docs failed" - fi -} - -pkg_postinst() { - for p in blas cblas; do - local current_p=$(eselect ${p} show | cut -d' ' -f2) - # this snippet works around the eselect bug #189942 and makes - # sure that users upgrading from a previous blas-atlas - # version pick up the new pkg-config files - if [[ ${current_p} == ${ESELECT_PROF} \ - || ${current_p} == "threaded-atlas" \ - || -z ${current_p} ]]; then - 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_p}" - elog "To use the ${p} ${ESELECT_PROF} implementation, you have to issue (as root):" - elog "\t eselect ${p} set ${ESELECT_PROF}" - fi - done -} diff --git a/sci-libs/blas-atlas/files/3.6.0-ppc-configure.patch b/sci-libs/blas-atlas/files/3.6.0-ppc-configure.patch deleted file mode 100644 index c499cd0aaebd..000000000000 --- a/sci-libs/blas-atlas/files/3.6.0-ppc-configure.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ATLAS/config.c.old 2006-06-17 01:57:32.000000000 +0200 -+++ ATLAS/config.c 2006-06-17 01:55:45.000000000 +0200 -@@ -2877,6 +2877,7 @@ - else if (strstr(ln2, "7400")) mach = PPCG4; - else if (strstr(ln2, "7410")) mach = PPCG4; - else if (strstr(ln2, "7455")) mach = PPCG4; -+ else if (strstr(ln2, "altivec")) mach = PPCG4; - } - break; - case LASPARC: /* don't know here anymore */ diff --git a/sci-libs/blas-atlas/files/3.7.11-allow-any-gcc-version.patch b/sci-libs/blas-atlas/files/3.7.11-allow-any-gcc-version.patch deleted file mode 100644 index a9690c78f7e5..000000000000 --- a/sci-libs/blas-atlas/files/3.7.11-allow-any-gcc-version.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- ATLAS-old/config.c 2005-08-21 08:30:17.000000000 -0500 -+++ ATLAS/config.c 2006-05-07 16:36:02.000000000 -0500 -@@ -712,25 +712,12 @@ - gcc, major, minor, patch); - if (major == -1) - iret = 0; -- else if ( MachIsX86(mach) ) /* don't use gcc 2.96 - 3.0 */ -- { -- if ((major == 2 && minor < 96) || (major == 3 && minor > 1)) -- iret = 1; -- } - else if (mach == IA64Itan || mach == IA64Itan2 || MachIsUS(mach) || - mach == Dec21164 || mach == Dec21264) - { - if (major == 3) - iret = 1; - } --/* -- * Need 3.2 or newer to make altivec work -- */ -- else if ((OS == OSLinux || comp != 3) && (mach == PPCG4 || mach == PPCG5)) -- { -- if (major >= 3 && minor >= 3) -- iret = 1; -- } - else iret = 1; /* any gcc is fine, take first in path */ - return (iret); - } diff --git a/sci-libs/blas-atlas/files/3.7.11-ppc-configure.patch b/sci-libs/blas-atlas/files/3.7.11-ppc-configure.patch deleted file mode 100644 index 4c6c5bb00fc1..000000000000 --- a/sci-libs/blas-atlas/files/3.7.11-ppc-configure.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ATLAS/config.c.orig 2006-06-13 18:26:29.000000000 +0200 -+++ ATLAS/config.c 2006-06-13 20:23:47.000000000 +0200 -@@ -3088,6 +3088,7 @@ - else if (strstr(ln2, "7410")) mach = PPCG4; - else if (strstr(ln2, "7455")) mach = PPCG4; - else if (strstr(ln2, "PPC970FX")) mach = PPCG5; -+ else if (strstr(ln2, "altivec") && !Use64Bits) mach = PPCG4; - } - break; - case LASPARC: /* don't know here anymore */ diff --git a/sci-libs/blas-atlas/files/blas-atlas-3.9.1-Core2Duo-detect.patch b/sci-libs/blas-atlas/files/blas-atlas-3.9.1-Core2Duo-detect.patch deleted file mode 100644 index ab3ccd6ce990..000000000000 --- a/sci-libs/blas-atlas/files/blas-atlas-3.9.1-Core2Duo-detect.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur ATLAS/CONFIG/src/backend/archinfo_x86.c ATLAS.new/CONFIG/src/backend/archinfo_x86.c ---- ATLAS/CONFIG/src/backend/archinfo_x86.c 2008-07-22 10:32:34.000000000 -0400 -+++ ATLAS.new/CONFIG/src/backend/archinfo_x86.c 2008-08-02 07:17:09.000000000 -0400 -@@ -92,11 +92,11 @@ - */ - do_cpuid(r, 1); - *family = (r[EAX] >> 8) & 0xf; /* base family in bits 11-8 */ -- if (*family == 0xf || *family == 0) /* extended family is added in */ -+/* if (*family == 0xf || *family == 0) */ /* extended family is added in */ - *family += ((r[EAX] >> 20) & 0xff); - - *model = (r[0] >> 4) & 0xf; /* model in bits 7-4 */ -- if (*model == 0xf) /* extended model is concatenated */ -+ /* if (*model == 0xf) */ /* extended model is concatenated */ - *model |= ((r[0] >> 12) & 0xf0); - - /* -@@ -294,7 +294,7 @@ - case 14: - iret = IntCoreDuo; - break; -- case 15: -+ case 15: ; case 23: - iret = IntCore2Duo; - break; - default: diff --git a/sci-libs/blas-atlas/files/blas-atlas-3.9.1-timing.patch b/sci-libs/blas-atlas/files/blas-atlas-3.9.1-timing.patch deleted file mode 100644 index 5bbecfc7c696..000000000000 --- a/sci-libs/blas-atlas/files/blas-atlas-3.9.1-timing.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -Naur ATLAS/makes/Make.l1tune ATLAS.new/makes/Make.l1tune ---- ATLAS/makes/Make.l1tune 2008-07-22 10:32:34.000000000 -0400 -+++ ATLAS.new/makes/Make.l1tune 2008-08-02 07:17:40.000000000 -0400 -@@ -46,7 +46,7 @@ - - force_build : - auxlib : -- cd $(AUXdir) ; make lib -+# cd $(AUXdir) ; make lib - $(BINdir)/xsubstr: - cd $(BINdir) ; $(MAKE) xsubstr - cdotc.dsc : $(mySRCdir)/DOT/ccasesc.dsc $(BINdir)/xsubstr -diff -Naur ATLAS/tune/blas/level1/dottime.c ATLAS.new/tune/blas/level1/dottime.c ---- ATLAS/tune/blas/level1/dottime.c 2008-07-22 10:33:17.000000000 -0400 -+++ ATLAS.new/tune/blas/level1/dottime.c 2008-08-02 07:20:23.000000000 -0400 -@@ -198,6 +198,7 @@ - #define TEST_DOT ATL_DOT - #endif - -+#if 0 - double DoOneTiming(int N, int nkflop, int cachesize, int incX, int incY) - /* - * This method of timing can be used when we have a cycle-accurate timer -@@ -253,6 +254,8 @@ - FA_free(Y, FAy, MAy); - return(t1-t0); - } -+#endif -+ - double DoTiming(int N, int nkflop, int cachesize, int incX, int incY) - { - #ifdef TREAL -@@ -322,9 +325,9 @@ - int i; - for (i=0; i < nrep; i++) - { -- if (nkflop <= 0) -- tims[i] = DoOneTiming(N, nkflop, cachesize, incX, incY); -- else -+ // if (nkflop <= 0) -+ // tims[i] = DoOneTiming(N, nkflop, cachesize, incX, incY); -+ // else - tims[i] = DoTiming(N, nkflop, cachesize, incX, incY); - fprintf(stdout, " N=%d, tim=%e\n", N, tims[i]); - } diff --git a/sci-libs/blas-atlas/files/c-ATLAS b/sci-libs/blas-atlas/files/c-ATLAS deleted file mode 100644 index 412cf9151d97..000000000000 --- a/sci-libs/blas-atlas/files/c-ATLAS +++ /dev/null @@ -1,14 +0,0 @@ -CFLAGS="-I/usr/include/atlas" -CLIBS="-L/usr/$(get_libdir)/blas/atlas -lcblas" - -setup() { -MY_LIBDIR="$(get_libdir)" -einfo "/usr/${MY_LIBDIR}/libcblas.so -> blas/atlas/libcblas.so" -ln -sf blas/atlas/libcblas.so /usr/${MY_LIBDIR}/libcblas.so - -einfo "/usr/${MY_LIBDIR}/libcblas.so.0 -> blas/atlas/libcblas.so.0" -ln -sf blas/atlas/libcblas.so.0 /usr/${MY_LIBDIR}/libcblas.so.0 - -einfo "/usr/${MY_LIBDIR}/libcblas.a -> blas/atlas/libcblas.a" -ln -sf blas/atlas/libcblas.a /usr/${MY_LIBDIR}/libcblas.a -} diff --git a/sci-libs/blas-atlas/files/c-threaded-ATLAS b/sci-libs/blas-atlas/files/c-threaded-ATLAS deleted file mode 100644 index 7b5603f436e3..000000000000 --- a/sci-libs/blas-atlas/files/c-threaded-ATLAS +++ /dev/null @@ -1,14 +0,0 @@ -CFLAGS="-I/usr/include/atlas" -CLIBS="-L/usr/$(get_libdir)/blas/threaded-atlas -lcblas" - -setup() { -MY_LIBDIR="$(get_libdir)" -einfo "/usr/${MY_LIBDIR}/libcblas.so -> blas/threaded-atlas/libcblas.so" -ln -sf blas/threaded-atlas/libcblas.so /usr/${MY_LIBDIR}/libcblas.so - -einfo "/usr/${MY_LIBDIR}/libcblas.so.0 -> blas/threaded-atlas/libcblas.so.0" -ln -sf blas/threaded-atlas/libcblas.so.0 /usr/${MY_LIBDIR}/libcblas.so.0 - -einfo "/usr/${MY_LIBDIR}/libcblas.a -> blas/threaded-atlas/libcblas.a" -ln -sf blas/threaded-atlas/libcblas.so.0 /usr/${MY_LIBDIR}/libcblas.a -} diff --git a/sci-libs/blas-atlas/files/eselect.blas b/sci-libs/blas-atlas/files/eselect.blas deleted file mode 100644 index bbb48d2cba76..000000000000 --- a/sci-libs/blas-atlas/files/eselect.blas +++ /dev/null @@ -1,3 +0,0 @@ -blas/atlas/libblas.so /usr/@LIBDIR@/libblas.so -blas/atlas/libblas.so.0 /usr/@LIBDIR@/libblas.so.0 -blas/atlas/libblas.a /usr/@LIBDIR@/libblas.a diff --git a/sci-libs/blas-atlas/files/eselect.cblas b/sci-libs/blas-atlas/files/eselect.cblas deleted file mode 100644 index 2c1e3b8728a4..000000000000 --- a/sci-libs/blas-atlas/files/eselect.cblas +++ /dev/null @@ -1,3 +0,0 @@ -blas/atlas/libcblas.so /usr/@LIBDIR@/libcblas.so -blas/atlas/libcblas.so.0 /usr/@LIBDIR@/libcblas.so.0 -blas/atlas/libcblas.a /usr/@LIBDIR@/libcblas.a diff --git a/sci-libs/blas-atlas/files/f77-ATLAS b/sci-libs/blas-atlas/files/f77-ATLAS deleted file mode 100644 index 550187d862a2..000000000000 --- a/sci-libs/blas-atlas/files/f77-ATLAS +++ /dev/null @@ -1,14 +0,0 @@ -F77LIBS="-L/usr/$(get_libdir)/blas/atlas -lblas" - -setup() { -MY_LIBDIR="$(get_libdir)" -einfo "/usr/${MY_LIBDIR}/libblas.so -> blas/atlas/libblas.so" -ln -sf blas/atlas/libblas.so /usr/${MY_LIBDIR}/libblas.so - -einfo "/usr/${MY_LIBDIR}/libblas.so.0 -> blas/atlas/libblas.so.0" -ln -sf blas/atlas/libblas.so.0 /usr/${MY_LIBDIR}/libblas.so.0 - -einfo "/usr/${MY_LIBDIR}/libblas.a -> blas/atlas/libblas.a" -ln -sf blas/atlas/libblas.a /usr/${MY_LIBDIR}/libblas.a - -} diff --git a/sci-libs/blas-atlas/files/f77-threaded-ATLAS b/sci-libs/blas-atlas/files/f77-threaded-ATLAS deleted file mode 100644 index f8c4a7039472..000000000000 --- a/sci-libs/blas-atlas/files/f77-threaded-ATLAS +++ /dev/null @@ -1,14 +0,0 @@ -F77LIBS="-L/usr/$(get_libdir)/blas/threaded-atlas -lblas" - -setup() { -MY_LIBDIR="$(get_libdir)" -einfo "/usr/lib/libblas.so -> blas/threaded-atlas/libblas.so" -ln -sf blas/threaded-atlas/libblas.so /usr/${MY_LIBDIR}/libblas.so - -einfo "/usr/lib/libblas.so.0 -> blas/threaded-atlas/libblas.so.0" -ln -sf blas/threaded-atlas/libblas.so.0 /usr/${MY_LIBDIR}/libblas.so.0 - -einfo "/usr/lib/libblas.a -> blas/threaded-atlas/libblas.a" -ln -sf blas/threaded-atlas/libblas.a /usr/${MY_LIBDIR}/libblas.a - -} diff --git a/sci-libs/blas-atlas/files/gnuc_default_fix.patch b/sci-libs/blas-atlas/files/gnuc_default_fix.patch deleted file mode 100644 index d0e47f7b0f16..000000000000 --- a/sci-libs/blas-atlas/files/gnuc_default_fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur ATLAS.old/include/atlas_prefetch.h ATLAS/include/atlas_prefetch.h ---- ATLAS.old/include/atlas_prefetch.h 2007-03-25 09:56:56.000000000 -0400 -+++ ATLAS/include/atlas_prefetch.h 2007-03-28 18:05:01.000000000 -0400 -@@ -128,7 +128,7 @@ - #define ATL_pfl1W(mem) ATL_pfavW(mem, 33619968, 2) - #define ATL_GOT_L1PREFETCH - #endif --#elif defined(defined(__GNUC__)) /* last ditch, use gcc predefined func */ -+#elif defined(__GNUC__) /* last ditch, use gcc predefined func */ - #define ATL_pfl1R(mem) __builtin_prefetch(mem, 0, 3) - #define ATL_pfl1W(mem) __builtin_prefetch(mem, 1, 3) - #define ATL_GOT_L1PREFETCH diff --git a/sci-libs/blas-atlas/files/unbuffered.patch b/sci-libs/blas-atlas/files/unbuffered.patch deleted file mode 100644 index 893680ac220f..000000000000 --- a/sci-libs/blas-atlas/files/unbuffered.patch +++ /dev/null @@ -1,16 +0,0 @@ -*** ATLAS/config.c Mon Dec 22 15:06:32 2003 ---- ATLAS_modif/config.c Fri Sep 9 19:45:37 2005 -*************** -*** 4364,4369 **** ---- 4364,4374 ---- - char UCDEF[256]; - enum MACHTYPE mach; - -+ /* Workaround for occasional hanging during emerge.*/ -+ -+ setbuf(stdout, 0); -+ setbuf(stdin, 0); -+ - flag = GetFlags(nargs, args, &mach, &ncpu, UCDEF, TOPdir, ARCH, blaslib, - CC, CCFLAGS, F77, F77FLAGS, MCC, MMFLAGS, GOODGCC, - XCC, XCCFLAGS); |