Commit f2e34042 authored by Julian Taylor's avatar Julian Taylor

new universe package containing the mpi libraries

parent 20cccfb5
fftw3-mpi (3.3.2-3ubuntu1) quantal; urgency=low
* new universe package containing the mpi libraries
-- Julian Taylor <jtaylor@ubuntu.com> Wed, 25 Jul 2012 21:30:18 +0200
fftw3 (3.3.2-3ubuntu1) quantal; urgency=low
* merge with Debian (LP: #1007259, #781726)
......
Source: fftw3
Source: fftw3-mpi
Section: libs
Priority: optional
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
......@@ -9,24 +9,23 @@ Build-Depends: chrpath,
debhelper (>=7.0.0),
dpkg (>= 1.16.0),
gfortran,
texinfo
Build-Depends-Indep: ghostscript (>> 8.63), transfig
libfftw3-dev,
mpi-default-dev
Vcs-Git: git://git.debian.org/git/debian-science/packages/fftw3.git
Vcs-Browser: http://git.debian.org/?p=debian-science/packages/fftw3.git
Homepage: http://fftw.org
Standards-Version: 3.9.3
DM-Upload-Allowed: yes
Package: libfftw3-3
Package: libfftw3-mpi3
Architecture: any
Pre-Depends: multiarch-support
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: libfftw3-bin, libfftw3-dev
Provides: fftw3
Replaces: fftw3
Conflicts: fftw3
Suggests: libfftw3-mpi-dev
Breaks: libfftw3-mpi-3
Replaces: libfftw3-mpi-3
Multi-Arch: same
Description: Library for computing Fast Fourier Transforms
Description: MPI Library for computing Fast Fourier Transforms
The FFTW library computes Fast Fourier Transforms (FFT) in one or more
dimensions. It is extremely fast. This package contains the shared library
versions of the fftw libraries in single, double and long double precisions.
......@@ -34,65 +33,16 @@ Description: Library for computing Fast Fourier Transforms
case there is no long double library.
.
To get the static library and the header files, you need to install
libfftw3-dev. For documentation, see libfftw3-doc.
libfftw3-mpi-dev. For documentation, see libfftw3-doc.
Package: libfftw3-bin
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Multi-Arch: foreign
Replaces: libfftw3-dev (<< 3.3.2-1)
Breaks: libfftw3-dev (<< 3.3.2-1)
Description: Library for computing Fast Fourier Transforms - Tools
The FFTW library computes Fast Fourier Transforms (FFT) in one or more
dimensions. It is extremely fast. This package contains the shared library
versions of the fftw libraries in single, double and long double precisions.
Note that on some architectures double is the same as long double in which
case there is no long double library.
.
This package contains the wisdom management tools.
Package: libfftw3-dev
Package: libfftw3-mpi-dev
Architecture: any
Section: libdevel
Depends: libfftw3-3 (=${binary:Version}),
libfftw3-bin (=${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Provides: fftw3-dev
Replaces: fftw3-dev
Conflicts: fftw3-dev
Multi-Arch: same
Description: Library for computing Fast Fourier Transforms - development
Depends: libfftw3-mpi3 (=${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Description: MPI Library for computing Fast Fourier Transforms - development
The FFTW library computes Fast Fourier Transforms (FFT) in one or more
dimensions. It is extremely fast. This package contains the statically linked
library, header files and test programs.
.
This package contains the header files and static libraries.
For documentation, see libfftw3-doc.
Package: libfftw3-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}
Suggests: libfftw3-3
Provides: fftw3-doc
Replaces: fftw3-doc
Conflicts: fftw3-doc
Description: Documentation for fftw version 3
The FFTW library computes Fast Fourier Transforms (FFT) in one or more
dimensions. It is extremely fast. This package contains the documentation for
the fftw3 library.
Package: libfftw3-dbg
Architecture: any
Section: debug
Priority: extra
Depends: libfftw3-dev (=${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Description: Library for computing Fast Fourier Transforms - debug symbols
The FFTW library computes Fast Fourier Transforms (FFT) in one or more
dimensions. It is extremely fast. This package contains the statically linked
library, header files and test programs.
.
This package contains debug packages.
.
For documentation, see libfftw3-doc.
This package contains the header files and static libraries for the
mpi libraries. For documentation, see libfftw3-doc.
debian/tmp-*/usr/share/man/man1/fftw*-wisdom*.1
usr/bin
usr/include
usr/lib/pkgconfig
usr/share/man/man1
tests/README
tests/*.c
tests/*.pl
tests/*.am
tests/*.in
usr/include/*
usr/lib/*/libfftw*.a
usr/lib/*/libfftw*.so
usr/lib/*/pkgconfig/fftw3*.pc
Document: fftw3-faq
Title: FFTW Version 3 Frequently Asked Questions
Author: Matteo Frigo and Steven G. Johnson
Abstract: Frequently Asked Questions about FFTW
FFTW is the Fastest Fourier Transform in the West, providing
a comprehensive collection of fast C routines for computing
discrete Fourier transforms.
Section: Programming
Format: HTML
Index: /usr/share/doc/libfftw3-doc/fftw-faq.html/index.html
Files: /usr/share/doc/libfftw3-doc/fftw-faq.html/*.html
Format: Info
Index: /usr/share/info/fftw-faq.info.gz
Files: /usr/share/info/fftw-faq.info.gz
Format: Text
Index: /usr/share/doc/libfftw3-doc/fftw-faq.ascii.gz
Files: /usr/share/doc/libfftw3-doc/fftw-faq.ascii.gz
Document: fftw3-manual
Title: FFTW Version 3 Manual
Author: Matteo Frigo and Steven G. Johnson
Abstract: This manual describes how to use fftw (version 3).
FFTW is the Fastest Fourier Transform in the West, providing
a comprehensive collection of fast C routines for computing
discrete Fourier transforms.
Section: Programming
Format: HTML
Index: /usr/share/doc/libfftw3-doc/html/index.html
Files: /usr/share/doc/libfftw3-doc/html/*.html
Format: Info
Index: /usr/share/info/fftw3.info.gz
Files: /usr/share/info/fftw3.info.gz
doc/FAQ/fftw-faq.html
doc/FAQ/fftw-faq.ascii
doc/html
doc/fftw3.info
doc/FAQ/fftw-faq.info
usr/include/*mpi*
usr/lib/*/libfftw*mpi*.a
usr/lib/*/libfftw*mpi*.so
usr/lib/*/libfftw3*mpi.so.*
Description: required for splitting fftw3 into two sources
link with system libfftw and disable mpi-bench not used in package
---
mpi/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: fftw3/mpi/Makefile.am
===================================================================
--- fftw3.orig/mpi/Makefile.am 2012-06-17 13:37:47.689840615 +0000
+++ fftw3/mpi/Makefile.am 2012-06-17 13:50:53.000000000 +0000
@@ -6,7 +6,6 @@
lib_LTLIBRARIES = libfftw3@PREC_SUFFIX@_mpi.la
include_HEADERS = fftw3-mpi.h
nodist_include_HEADERS = fftw3-mpi.f03 fftw3l-mpi.f03
-noinst_PROGRAMS = mpi-bench
endif
CC=@MPICC@
@@ -24,7 +23,7 @@
libfftw3@PREC_SUFFIX@_mpi_la_SOURCES = $(SRC) $(TRANSPOSE_SRC) $(DFT_SRC) $(RDFT_SRC) $(RDFT2_SRC)
libfftw3@PREC_SUFFIX@_mpi_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@
-libfftw3@PREC_SUFFIX@_mpi_la_LIBADD = ../libfftw3@PREC_SUFFIX@.la @MPILIBS@
+libfftw3@PREC_SUFFIX@_mpi_la_LIBADD = -lfftw3@PREC_SUFFIX@ @MPILIBS@
if THREADS
mpi_bench_CFLAGS = $(PTHREAD_CFLAGS)
Index: fftw3/mpi/Makefile.in
===================================================================
--- fftw3.orig/mpi/Makefile.in 2012-06-17 13:24:17.617840925 +0000
+++ fftw3/mpi/Makefile.in 2012-06-17 13:55:40.489840633 +0000
@@ -36,7 +36,7 @@
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-@MPI_TRUE@noinst_PROGRAMS = mpi-bench$(EXEEXT)
+@MPI_TRUE@noinst_PROGRAMS =
subdir = mpi
DIST_COMMON = $(am__include_HEADERS_DIST) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in
@@ -89,7 +89,7 @@
"$(DESTDIR)$(includedir)"
LTLIBRARIES = $(lib_LTLIBRARIES)
libfftw3@PREC_SUFFIX@_mpi_la_DEPENDENCIES = \
- ../libfftw3@PREC_SUFFIX@.la
+ -lfftw3@PREC_SUFFIX@
am__objects_1 = any-true.lo api.lo block.lo choose-radix.lo conf.lo \
dtensor.lo rearrange.lo wisdom-api.lo f03-wrap.lo
am__objects_2 = transpose-alltoall.lo transpose-pairwise.lo \
@@ -305,7 +305,7 @@
SRC = any-true.c api.c block.c choose-radix.c conf.c dtensor.c fftw3-mpi.h ifftw-mpi.h rearrange.c wisdom-api.c f03-wrap.c
libfftw3@PREC_SUFFIX@_mpi_la_SOURCES = $(SRC) $(TRANSPOSE_SRC) $(DFT_SRC) $(RDFT_SRC) $(RDFT2_SRC)
libfftw3@PREC_SUFFIX@_mpi_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@
-libfftw3@PREC_SUFFIX@_mpi_la_LIBADD = ../libfftw3@PREC_SUFFIX@.la @MPILIBS@
+libfftw3@PREC_SUFFIX@_mpi_la_LIBADD = -lfftw3@PREC_SUFFIX@ @MPILIBS@
@OPENMP_TRUE@@THREADS_FALSE@mpi_bench_CFLAGS = $(OPENMP_CFLAGS)
@THREADS_TRUE@mpi_bench_CFLAGS = $(PTHREAD_CFLAGS)
@COMBINED_THREADS_FALSE@@THREADS_TRUE@LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
01_fftw3_texi.diff
02_fftw-faq_bfnn.diff
03_fix_manpages.diff
mpi-only-patch.patch
......@@ -61,38 +61,30 @@ endif
SETCFLAGS := CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' CPPFLAGS='$(CPPFLAGS)'
# common configure options
archconfflags := $(archconfflags) --prefix=/usr --enable-shared --enable-threads --enable-openmp --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
archconfflags := $(archconfflags) --prefix=/usr --enable-shared --enable-threads --enable-openmp --enable-mpi --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) MPILIBS="$(shell mpicc --showme:link)"
build-arch:
# single precision
$(SETCFLAGS) ./configure --enable-single $(archconfflags) $(archconfflags_single)
$(MAKE)
( cd tests ; $(MAKE) smallcheck )
$(MAKE) install DESTDIR=`pwd`/debian/tmp-single
$(MAKE) -C mpi
$(MAKE) -C mpi install DESTDIR=`pwd`/debian/tmp-single
#
# double precision
$(SETCFLAGS) ./configure $(archconfflags) $(archconfflags_double)
$(MAKE)
( cd tests ; $(MAKE) smallcheck )
$(MAKE) install DESTDIR=`pwd`/debian/tmp-double
$(MAKE) -C mpi
$(MAKE) -C mpi install DESTDIR=`pwd`/debian/tmp-double
#
# long double precision
# build only on architectures where double != long-double
# flags added so build log checks don't report missing hardening flags
gcc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o test_long_long-double debian/test_long_long-double.c
gcc -o test_long_long-double debian/test_long_long-double.c
if ! ./test_long_long-double; then \
$(SETCFLAGS) ./configure --enable-long-double $(archconfflags) && \
$(MAKE) && \
( cd tests ; $(MAKE) smallcheck ) && \
$(MAKE) install DESTDIR=`pwd`/debian/tmp-long-double; \
$(MAKE) -C mpi && \
$(MAKE) -C mpi install DESTDIR=`pwd`/debian/tmp-long-double; \
fi
touch build-arch
build-indep:
-(cd doc ; $(MAKE) -k clean)
-rm -f doc/*.info* doc/rfftwnd.png doc/html/*
cd doc/FAQ && $(MAKE) fftw-faq.html fftw-faq.ascii
cd doc && $(MAKE) && $(MAKE) html
touch build-indep
build: build-stamp
......@@ -113,18 +105,6 @@ clean1st:
dh_clean
binary-indep: build-indep
# build fftw3-doc
dh_prep -i
dh_testdir
dh_testroot
dh_installdocs -i README NEWS
dh_installinfo -i
dh_installchangelogs -i ChangeLog
dh_compress -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary-arch: build-arch
# build fftw3
......@@ -138,11 +118,10 @@ binary-arch: build-arch
if ! ./test_long_long-double; then \
dh_install -a --sourcedir=debian/tmp-long-double; \
fi
find $(CURDIR)/debian/libfftw3-dev -type d -empty -delete
chrpath --delete debian/libfftw3-mpi3/usr/lib/$(DEB_HOST_MULTIARCH)/libfftw3*mpi*so*
dh_installman -a
dh_strip --dbg-package=libfftw3-dbg -a
dh_strip -a
dh_compress -a -X.c -X.pl -X.am -X.in
dh_fixperms -a
dh_makeshlibs -a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment