pkgsrc-wip/fftw-mpich/Makefile
Jason Bacon 2d1e6262da Import fftw-mpich-3.3 as wip/fftw-mpich.
FFTW is a free collection of fast C routines for computing the
Discrete Fourier Transform in one or more dimensions.  It includes
complex, real, symmetric, and parallel transforms, and can handle
arbitrary array sizes efficiently.  FFTW is typically faster than
other publically-available FFT implementations, and is even
competitive with vendor-tuned libraries.  (See our web page for
extensive benchmarks.)  To achieve this performance, FFTW uses novel
code-generation and runtime self-optimization techniques (along with
many other tricks).
2013-06-23 18:22:25 +00:00

40 lines
945 B
Makefile

# $NetBSD: Makefile,v 1.1 2013/06/23 18:22:25 outpaddling Exp $
DISTNAME= fftw-3.3
PKGNAME= fftw-mpich-3.3
CATEGORIES= math
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
http://www.fftw.org/
MAINTAINER= jwbacon@tds.net
HOMEPAGE= http://www.fftw.org/
COMMENT= Collection of fast C routines to compute DFTs
LICENSE= gnu-gpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
INSTALLATION_PREFIX= $(BUILDLINK_PREFIX.mpich:Q)
USE_LANGUAGES= c fortran77
USE_LIBTOOL= yes
USE_TOOLS+= gmake
HAS_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= fftw.pc.in
INFO_FILES= yes
TEST_TARGET= check
CONFIGURE_ARGS+= --enable-shared \
--enable-mpi \
--prefix=$(INSTALLATION_PREFIX)
.include "../../mk/bsd.prefs.mk"
.if defined(PKGSRC_RUN_TEST) && !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
USE_TOOLS+= perl
TEST_MAKE_FLAGS+= MPIRUN=$(BUILDLINK_PREFIX.mpich:Q)/bin/mpirun
.endif
.include "../../wip/mpi-ch/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"