summaryrefslogtreecommitdiff
path: root/math/fftw/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-04-29 22:48:45 +0000
committerjtb <jtb@pkgsrc.org>2003-04-29 22:48:45 +0000
commit4c53ffc22a432030056aa343464ce73617790dda (patch)
treec834ed94e993120e9b7550632b1b271410cbf1c6 /math/fftw/Makefile
parent0df227cfc5bb54444c5a023c92f00779b7a16aeb (diff)
downloadpkgsrc-4c53ffc22a432030056aa343464ce73617790dda.tar.gz
Update to version 3.0.
Major goals of this release: * Speed: often 20% or more faster than FFTW 2.x, even without SIMD (see below). * Complete rewrite, to make it easier to add new algorithms and transforms. * New API, to support more general semantics. Other enhancements: * SIMD acceleration on supporting CPUs (SSE, SSE2, 3DNow!, and AltiVec). (With special thanks to Franz Franchetti for many experimental prototypes and to Stefan Kral for the vectorizing generator from fftwgel.) * True in-place 1d transforms of large sizes (as well as compressed twiddle tables for additional memory/cache savings). * More arbitrary placement of real & imaginary data, e.g. including interleaved (as in FFTW 2.x) as well as separate real/imag arrays. * Efficient prime-size transforms of real data. * Multidimensional transforms can operate on a subset of a larger matrix, and/or transform selected dimensions of a multidimensional array. * By popular demand, simultaneous linking to double precision (fftw), single precision (fftwf), and long-double precision (fftwl) versions of FFTW is now supported. * Cycle counters (on all modern CPUs) are exploited to speed planning. * Efficient transforms of real even/odd arrays, a.k.a. discrete cosine/sine transforms (types I-IV). (Currently work via pre/post processing of real transforms, ala FFTPACK, so are not optimal.) * DHTs (Discrete Hartley Transforms), again via post-processing of real transforms (and thus suboptimal, for now). * Support for linking to just those parts of FFTW that you need, greatly reducing the size of statically linked programs when only a limited set of transform sizes/types are required. * Canonical global wisdom file (/etc/fftw/wisdom) on Unix, along with a command-line tool (fftw-wisdom) to generate/update it. * Fortran API can be used with both g77 and non-g77 compilers simultaneously. * Multi-threaded version has optional OpenMP support. * Authors' good looks have greatly improved with age.
Diffstat (limited to 'math/fftw/Makefile')
-rw-r--r--math/fftw/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/math/fftw/Makefile b/math/fftw/Makefile
index e38b5a62816..b1fbddb9aeb 100644
--- a/math/fftw/Makefile
+++ b/math/fftw/Makefile
@@ -1,22 +1,29 @@
-# $NetBSD: Makefile,v 1.6 2002/02/18 15:14:29 seb Exp $
+# $NetBSD: Makefile,v 1.7 2003/04/29 22:48:45 jtb Exp $
-DISTNAME= fftw-2.1.3
+PKGNAME= fftw-3.0
CATEGORIES= math
-MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/
+MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
+ http://www.fftw.org/
+
+.if (${MACHINE_ARCH} == "i386")
+DISTNAME= fftw-3.0
+.else
+DISTNAME= fftw-3.0-fma
+.endif
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.fftw.org/
COMMENT= Collection of fast C routines to compute DFTs
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/fftw.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
-.if ${MACHINE_ARCH} == "i386"
-CONFIGURE_ARGS+= --enable-i386-hacks
-.endif
USE_FORTRAN= yes
USE_GMAKE= yes
-INFO_FILES= fftw.info
-TEXINFO_OVERRIDE= YES
+INFO_FILES= fftw3.info
+TEXINFO_OVERRIDE= yes
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"