From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qyqbe-0005fE-BF for garchives@archives.gentoo.org; Wed, 31 Aug 2011 19:37:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D9F621C2D8; Wed, 31 Aug 2011 19:37:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E6C5921C2D8 for ; Wed, 31 Aug 2011 19:37:42 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5111F1B400D for ; Wed, 31 Aug 2011 19:37:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6D55780040 for ; Wed, 31 Aug 2011 19:37:41 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/fftw/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/fftw/ChangeLog sci-libs/fftw/fftw-3.3.ebuild sci-libs/fftw/metadata.xml X-VCS-Directories: sci-libs/fftw/ X-VCS-Committer: kleiner_otti X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: a26afad3ab7e58a9e7affa56a6753e4b403c6255 Date: Wed, 31 Aug 2011 19:37:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: f66c2f7a2f6490fab618176c623da411 commit: a26afad3ab7e58a9e7affa56a6753e4b403c6255 Author: Christoph Junghans gentoo org> AuthorDate: Wed Aug 31 19:37:16 2011 +0000 Commit: Christoph Junghans gmx de> CommitDate: Wed Aug 31 19:37:16 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3Da26afad3 [sci-libs/fftw] in tree --- sci-libs/fftw/ChangeLog | 22 ------- sci-libs/fftw/fftw-3.3.ebuild | 133 -----------------------------------= ------ sci-libs/fftw/metadata.xml | 14 ---- 3 files changed, 0 insertions(+), 169 deletions(-) diff --git a/sci-libs/fftw/ChangeLog b/sci-libs/fftw/ChangeLog deleted file mode 100644 index 1ad3dbc..0000000 --- a/sci-libs/fftw/ChangeLog +++ /dev/null @@ -1,22 +0,0 @@ -# ChangeLog for sci-libs/fftw -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*fftw-3.3 (20 Aug 2011) - - 20 Aug 2011; Christoph Junghans - -files/fftw-3.2.1-as-needed.patch, -fftw-3.3_alpha1.ebuild, +fftw-3.3.= ebuild: - version bump - - 24 Jun 2011; Justin Lecher fftw-3.3_alpha1.ebuild: - Streamlined fortran-2 eclass usage - - 21 Jun 2011; Justin Lecher fftw-3.3_alpha1.ebuild: - Added fortran-2.eclass support - -*fftw-3.3_alpha1 (12 Sep 2010) - - 12 Sep 2010; Christoph Junghans - +fftw-3.3_alpha1.ebuild, +metadata.xml: - Added alpha version to test mpi interface - diff --git a/sci-libs/fftw/fftw-3.3.ebuild b/sci-libs/fftw/fftw-3.3.ebuil= d deleted file mode 100644 index 7c0e4c9..0000000 --- a/sci-libs/fftw/fftw-3.3.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3D4 - -inherit autotools eutils flag-o-matic fortran-2 toolchain-funcs - -DESCRIPTION=3D"Fast C library for the Discrete Fourier Transform" -HOMEPAGE=3D"http://www.fftw.org/" -SRC_URI=3D"http://www.fftw.org/${P}.tar.gz" - -LICENSE=3D"GPL-2" -SLOT=3D"3.0" -KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86= ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE=3D"altivec doc fortran mpi openmp sse sse2 static-libs threads" - -DEPEND=3D" - fortran? ( virtual/fortran ) - mpi? ( virtual/mpi )" -RDEPEND=3D"${DEPEND}" - -pkg_setup() { - use openmp && FORTRAN_NEED_OPENMP=3D"1" - use fortran && fortran-2_pkg_setup - use openmp && FFTW_OPENMP=3D"--enable-openmp" - if use openmp && ! tc-has-openmp; then - ewarn "You are using gcc and OpenMP is only available with gcc >=3D 4.= 2 " - ewarn "If you want to build fftw with OpenMP, abort now," - ewarn "and switch CC to an OpenMP capable compiler" - ewarn "Otherwise, we will build using POSIX threads." - epause 5 - FFTW_THREADS=3D"--disable-openmp" - fi - FFTW_DIRS=3D"single double longdouble" - use openmp && [[ $(tc-getCC)$ =3D=3D icc* ]] && append-ldflags $(no-as-= needed) -} - -src_prepare() { - # fix info file for category directory - sed -i \ - -e 's/Texinfo documentation system/Libraries/' \ - doc/fftw3.info || die "failed to fix info file" - - rm m4/lt* m4/libtool.m4 - - AT_M4DIR=3Dm4 eautoreconf - for x in ${FFTW_DIRS}; do - mkdir "${S}-${x}" || die - done -} - -src_configure() { - # filter -Os according to docs - replace-flags -Os -O2 - - local myconfcommon=3D"--enable-shared - $(use_enable static-libs static) - $(use_enable fortran) - $(use_enable mpi) - $(use_enable threads) - ${FFTW_OPENMP}" - - local myconfsingle=3D"${myconfcommon} --enable-single" - local myconfdouble=3D"${myconfcommon}" - local myconflongdouble=3D"${myconfcommon} --enable-long-double" - if use sse2; then - myconfsingle=3D"${myconfsingle} --enable-sse" - myconfdouble=3D"${myconfdouble} --enable-sse2" - elif use sse; then - myconfsingle=3D"${myconfsingle} --enable-sse" - fi - # altivec only helps singles, not doubles - if use altivec; then - myconfsingle=3D"${myconfsingle} --enable-altivec" - fi - - for x in ${FFTW_DIRS}; do - cd "${S}-${x}" - einfo "Configuring for ${x} precision" - local p=3Dmyconf${x} - ECONF_SOURCE=3D"${S}" econf ${!p} - done -} - -src_compile() { - for x in ${FFTW_DIRS}; do - cd "${S}-${x}" - einfo "Compiling for ${x} precision" - emake - done -} - -src_test () { - # We want this to be a reasonably quick test, but that is still hard... - ewarn "This test series will take 30 minutes on a modern 2.5Ghz machine= " - # Do not increase the number of threads, it will not help your performa= nce - #local testbase=3D"perl check.pl --nthreads=3D1 --estimate" - # ${testbase} -${p}d || die "Failure: $n" - for x in ${FFTW_DIRS}; do - cd "${S}-${x}/tests" - einfo "Testing ${x} precision" - emake -j1 check - done -} - -src_install () { - local f u - - # all builds are installed in the same place - # libs have distinuguished names; include files, docs etc. identical. - for x in ${FFTW_DIRS}; do - cd "${S}-${x}" - emake DESTDIR=3D"${D}" install - done - - cd "${S}" - dodoc AUTHORS ChangeLog NEWS README TODO COPYRIGHT CONVENTIONS - if use doc; then - cd doc - insinto /usr/share/doc/${PF} - doins -r html fftw3.pdf - insinto /usr/share/doc/${PF}/faq - doins FAQ/fftw-faq.html/* - fi - - use openmp && [[ ${FFTW_OPENMP} =3D "--enable-openmp" ]] && u=3D"omp" - for f in "${ED}"/usr/lib*/pkgconfig/*.pc; do - for u in $(usev mpi) $(usev threads) ${u}; do - sed "s|-lfftw3[lf]\?|&_$u|" "$f" > "${f%.pc}_$u.pc" || die - done - done -} diff --git a/sci-libs/fftw/metadata.xml b/sci-libs/fftw/metadata.xml deleted file mode 100644 index d7ac5d1..0000000 --- a/sci-libs/fftw/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - -sci - - The Fastest Fourier Transform in the West is a C subroutine library - for computing the Discrete Fourier Transform (DFT) in one or more - dimensions, of both real and complex data, and of arbitrary input - size. It is becoming the FFT library of choice for most - applications. Benchmarks, performed on a variety of platforms, show - that FFTW's performance is typically superior to that of other - publicly available FFT software. - -