Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 15050 Details for
Bug 20048
request for ebuild update for FFTW (now at version 3.0)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Another ebuild for fftw-3.0.1
fftw-3.0.1.ebuild (text/plain), 2.44 KB, created by
Sam Yates
on 2003-07-26 11:49:59 UTC
(
hide
)
Description:
Another ebuild for fftw-3.0.1
Filename:
MIME Type:
Creator:
Sam Yates
Created:
2003-07-26 11:49:59 UTC
Size:
2.44 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/dev-libs/fftw/fftw-2.1.5.ebuild,v 1.2 2003/05/07 22:47:54 george Exp $ > >inherit flag-o-matic > >S="${WORKDIR}/${P}" >DESCRIPTION="C subroutine library for computing the Discrete Fourier Transform (DFT)" >SRC_URI="http://www.fftw.org/${P}.tar.gz" >HOMEPAGE="http://www.fftw.org" > >SLOT="3.0" >LICENSE="GPL-2" > >KEYWORDS="x86 ppc sparc alpha" > >#this one is reported to cause trouble on pentium4 m series >#(for 3.0.x: this sort of thing should be handled by the --enable-sse >#style configure flags. these are set below using the use variables, >#but under gcc-3.2.x, sse2 seems to cause trouble.) >filter-flags "-mfpmath=sse" > ># in gcc 3.2.3 at least, using sse or sse2 causes trouble with -O3 ># according to the docs, -O0 can cause trouble too! So pending further ># testing, ... > >if [ `use sse` ]; then > filter-flags -O3 -O1 -O -Os > append-flags -O2 >fi > >src_unpack() { > #doc suggests installing single and double precision versions via > #separate compilations - will do in two separate source trees. > > unpack "${P}.tar.gz" > cd "${WORKDIR}" > mv ${P} ${P}-single > > unpack "${P}.tar.gz" > cd "${WORKDIR}" > mv ${P} ${P}-double >} > > >src_compile() { > local myconf="" > local myconfsingle="" > local myconfdouble="" > > use mpi && myconf="${myconf} --enable-mpi" > #mpi is not a valid flag yet. In this revision it is used merely to block --enable-mpi option > #it might be needed if it is decided that lam is an optional dependence > > if [ `use sse` ]; then > myconfsingle="$myconfsingle --enable-sse" > myconfdouble="$myconfdouble --enable-sse2" > elif [ `use 3dnow` ]; then > myconfsingle="$myconfsingle --enable-3dnow" > fi > > cd "${S}-single" > econf \ > --enable-shared \ > --enable-threads \ > --enable-float \ > ${myconf} ${myconfsingle} || die "./configure failed" > emake || die > > #the only difference here is no --enable-float > cd "${S}-double" > econf \ > --enable-shared \ > --enable-threads \ > ${myconf} ${myconfdouble} || die "./configure failed" > emake || die >} > >src_install () { > #both builds are installed in the same place > #libs have distinuguished names; include files, docs etc. identical. > cd "${S}-single" > make DESTDIR=${D} install || die > > cd "${S}-double" > make DESTDIR=${D} install || die > > # Install documentation. > cd "${S}-single" > > dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO > dodoc COPYRIGHT CONVENTIONS > > cd doc/html > dohtml -r . >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 20048
:
12657
|
13483
| 15050