/[gentoo-x86]/sci-libs/blas-atlas/blas-atlas-3.7.17.ebuild
Gentoo

Diff of /sci-libs/blas-atlas/blas-atlas-3.7.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/Attic/blas-atlas-3.7.17.ebuild,v 1.1 2006/09/11 20:54:00 markusle Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/Attic/blas-atlas-3.7.17.ebuild,v 1.2 2006/09/27 19:14:49 markusle Exp $
4 4
5inherit eutils toolchain-funcs fortran 5inherit eutils toolchain-funcs fortran
6 6
7DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation" 7DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation"
8HOMEPAGE="http://math-atlas.sourceforge.net/" 8HOMEPAGE="http://math-atlas.sourceforge.net/"
9MY_PN=${PN/blas-/} 9MY_PN=${PN/blas-/}
10SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2 10SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2
11 mirror://gentoo/${MY_PN}-3.7.15-shared-libs.patch.bz2" 11 mirror://gentoo/${MY_PN}-${PV}-shared-libs.patch.bz2"
12 12
13LICENSE="BSD" 13LICENSE="BSD"
14SLOT="0" 14SLOT="0"
15KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" 15KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
16IUSE="doc" 16IUSE="doc"
35 ewarn "during the compile of blas-atlas. Otherwise, all atlas" 35 ewarn "during the compile of blas-atlas. Otherwise, all atlas"
36 ewarn "generated timings will be completely random and the" 36 ewarn "generated timings will be completely random and the"
37 ewarn "performance of the resulting libraries will be degraded" 37 ewarn "performance of the resulting libraries will be degraded"
38 ewarn "considerably." 38 ewarn "considerably."
39 echo 39 echo
40 ewarn "Also, if you experience failing SANITY tests during"
41 ewarn "atlas' compile please try passing -mfpmath=387; this"
42 ewarn "option might also result in much better performance"
43 ewarn "than using then sse instruction set depending on your"
44 ewarn "CPU."
45 echo
40 epause 8 46 epause 10
41} 47}
42 48
43src_unpack() { 49src_unpack() {
44 unpack ${A} 50 unpack ${A}
45 cd ${S} 51 cd ${S}
46 52
47 epatch "${DISTDIR}"/${MY_PN}-3.7.15-shared-libs.patch.bz2 53 epatch "${DISTDIR}"/${MY_PN}-${PV}-shared-libs.patch.bz2
54 epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch
48 55
49 # make sure shared libs link against proper libraries 56 # make sure shared libs link against proper libraries
50 if [[ ${FORTRANC} == "gfortran" ]]; then 57 if [[ ${FORTRANC} == "gfortran" ]]; then
51 libs="${LDFLAGS} -lpthread -lgfortran" 58 libs="${LDFLAGS} -lpthread -lgfortran"
52 else 59 else

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20