pkgsrc/math/fftwf/Makefile
wiz 9455950fc8 Update to 3.3.2:
FFTW 3.3.2

* Removed an archaic stack-alignment hack that was failing with
  gcc-4.7/i386.

* Added stack-alignment hack necessary for gcc on Windows/i386.  We
  will regret this in ten years (see previous change).

* Fix incompatibility with Intel icc which pretends to be gcc
  but does not support quad precision.

* make libfftw{threads,mpi} depend upon libfftw when using libtool;
  this is consistent with most other libraries and simplifies the life
  of various distributors of GNU/Linux.

FFTW 3.3.1

* Changes since 3.3.1-beta1:

  - Reduced planning time in estimate mode for sizes with large
    prime factors.

  - Added AVX autodetection under Visual Studio.  Thanks Carsten
    Steger for submitting the necessary code.

  - Modern Fortran interface now uses a separate fftw3l.f03 interface
    file for the long double interface, which is not supported by
    some Fortran compilers.  Provided new fftw3q.f03 interface file
    to access the quadruple-precision FFTW routines with recent
    versions of gcc/gfortran.

* Added support for the NEON extensions to the ARM ISA.  (Note to beta
  users: an ARM cycle counter is not yet implemented; please contact
  fftw@fftw.org if you know how to do it right.)

* MPI code now compiles even if mpicc is a C++ compiler; thanks to
  Kyle Spyksma for the bug report.
2012-05-29 13:53:29 +00:00

46 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2012/05/29 13:53:29 wiz Exp $
DISTNAME= fftw-3.3.2
PKGNAME= ${DISTNAME:C/fftw/fftwf/}
CATEGORIES= math
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
http://www.fftw.org/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fftw.org/
COMMENT= Collection of fast C routines to compute DFTs
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= fftw.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-float
DEPENDS+= fftw>=3.2:../../math/fftw
.if (${MACHINE_ARCH} == "i386")
#CONFIGURE_ARGS+= --enable-sse
CONFIGURE_ARGS+= --with-our-malloc16
.endif
USE_LANGUAGES= c fortran77
USE_TOOLS+= gmake
# For the "test" target:
USE_TOOLS+= perl
TEST_TARGET= check
INSTALLATION_DIRS= ${PKGMANDIR}/man1
INSTALL_TARGET= install-libLTLIBRARIES install-pkgconfigDATA
post-install:
cd ${WRKSRC}/tools && \
${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \
install-binPROGRAMS
${INSTALL_MAN} ${WRKSRC}/tools/fftwf-wisdom.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"