ports/65559: [NEW PORT] math/fftw3: Fast C routines to compute the Discrete Fourier Transform

michael johnson ahze at ahze.net
Thu Apr 15 09:10:10 UTC 2004


>Number:         65559
>Category:       ports
>Synopsis:       [NEW PORT] math/fftw3: Fast C routines to compute the Discrete Fourier Transform
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 15 02:10:10 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 4.10-BETA i386
>Organization:
>Environment:
System: FreeBSD bacon.ahze.net 4.10-BETA FreeBSD 4.10-BETA #25: Sat Apr 10 23:42:46 EDT 2004
>Description:

The reason for math/fftw3 instead of just upgrading math/fftw is 
>From fftw.org: "The API of FFTW 3.x is incompatible with that of FFTW 2.x, 
for reasons of performance and generality"

-

FFTW 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. We believe that FFTW, which is free software, should
become the FFT library of choice for most applications. Our benchmarks,
performed on a variety of platforms, show that FFTW's performance is
typically superior to that of other publicly available FFT software.
Moreover, FFTW's performance is portable: the program will perform well on
most architectures without modification.

The FFTW package was developed at MIT by Matteo Frigo and Steven G.
Johnson.  Please send email to fftw at theory.lcs.mit.edu so that we can keep
track of users and send you information about new releases.  The latest 
version of FFTW, benchmarks, links, and other information can be found at
the FFTW home page.

WWW: http://www.fftw.org/

>How-To-Repeat:
>Fix:

--- fftw3-3.0.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fftw3
#	fftw3/pkg-plist
#	fftw3/pkg-descr
#	fftw3/Makefile
#	fftw3/distinfo
#
echo c - fftw3
mkdir -p fftw3 > /dev/null 2>&1
echo x - fftw3/pkg-plist
sed 's/^X//' >fftw3/pkg-plist << 'END-of-fftw3/pkg-plist'
Xbin/fftw-wisdom
Xbin/fftw-wisdom-to-conf
Xinclude/fftw3.f
Xinclude/fftw3.h
Xlib/libfftw3.a
Xlib/libfftw3.so
Xlib/libfftw3.so.3
Xlibdata/pkgconfig/fftw3.pc
END-of-fftw3/pkg-plist
echo x - fftw3/pkg-descr
sed 's/^X//' >fftw3/pkg-descr << 'END-of-fftw3/pkg-descr'
XFFTW is a C subroutine library for computing the Discrete Fourier Transform
X(DFT) in one or more dimensions, of both real and complex data, and of
Xarbitrary input size. We believe that FFTW, which is free software, should
Xbecome the FFT library of choice for most applications. Our benchmarks,
Xperformed on a variety of platforms, show that FFTW's performance is
Xtypically superior to that of other publicly available FFT software.
XMoreover, FFTW's performance is portable: the program will perform well on
Xmost architectures without modification.
X
XThe FFTW package was developed at MIT by Matteo Frigo and Steven G.
XJohnson.  Please send email to fftw at theory.lcs.mit.edu so that we can keep
Xtrack of users and send you information about new releases.  The latest 
Xversion of FFTW, benchmarks, links, and other information can be found at
Xthe FFTW home page.
X
XWWW: http://www.fftw.org/
END-of-fftw3/pkg-descr
echo x - fftw3/Makefile
sed 's/^X//' >fftw3/Makefile << 'END-of-fftw3/Makefile'
X# New ports collection makefile for: fftw
X# Date created:		Dec 28 1998
X# Whom:			Lars Koeller <Lars.Koeller at Uni-Bielefeld.DE>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	fftw3
XPORTVERSION=	3.0.1
XCATEGORIES=	math
XMASTER_SITES=	ftp://ftp.fftw.org/pub/fftw/ 		\
X		ftp://ftp.fftw.org/pub/fftw/old/ 	\
X		ftp://theory.lcs.mit.edu/pub/fftw/	\
X		ftp://pm.cse.rmit.edu.au/pub/dsp/fftw/
XDISTNAME=	fftw-${PORTVERSION}
X
XMAINTAINER=	ahze at ahze.net
XCOMMENT=	Fast C routines to compute the Discrete Fourier Transform
X
XUSE_GMAKE=	yes
XUSE_LIBTOOL_VER=13
XUSE_GNOME=	gnomehack gnomeprefix gnometarget lthack pkgconfig
XINSTALLS_SHLIB=	yes
X
XMAN1=	fftw-wisdom-to-conf.1 fftw-wisdom.1
XINFO=	fftw3
X
XCONFIGURE_ARGS=	--enable-shared
XCONFIGURE_ENV=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
X		LDFLAG="${LDFLAGS} ${PTHREAD_LIBS}"
X
XOPTIONS=	OPTIMIZED_CFLAGS "Enable optimized CFLAGS" off \
X		OPTIMIZED_ATHLON "Enable AMD K7(Athlon) optimizations" off \
X		SMP_THREADS "Enable FFTW SMP threads library" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_OPTIMIZED_CFLAGS) && !defined(WITH_OPTIMIZED_ATHLON)
XCONFIGURE_ENV+=	CFLAGS="${CFLAGS} -O2 -ffast-math -fomit-frame-pointer"
X.endif
X
X.if defined(WITH_OPTIMIZED_ATHLON)
XCONFIGURE_ARGS+=--enable-k7
XCONFIGURE_ENV+=	CFLAGS="${CFLAGS} -O3 -fomit-frame-pointer -fno-schedule-insns \
X		-malign-double -fstrict-aliasing -mpreferred-stack-boundary=4 \
X		-ffast-math"
X.endif
X
X.if defined(WITH_SMP_THREADS)
XCONFIGURE_ARGS+=--enable-threads
X.endif
X
X.include <bsd.port.post.mk>
END-of-fftw3/Makefile
echo x - fftw3/distinfo
sed 's/^X//' >fftw3/distinfo << 'END-of-fftw3/distinfo'
XMD5 (fftw-3.0.1.tar.gz) = 76cd21ecc9a7bed6343566c473c36477
XSIZE (fftw-3.0.1.tar.gz) = 1946361
END-of-fftw3/distinfo
exit
--- fftw3-3.0.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list