ITP: fftw-3.0.1

Yaakov S yselkowitz@users.sourceforge.net
Mon Aug 15 23:22:00 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Corinna Vinschen wrote:
> Since the package is in SuSE and Debian, just go ahead and prepare the
> package.   But I'm wondering why it's useful to drop the single precision
> calls.  Sounds like an unnecessary restriction to me.

Gentoo[1] uses an interesting technique to build both single- and
double-precision libraries (the single-precision libs have an additional
'f' in their name) from the same package.

This could be adapted for our purposes (yes, I've actually done it):

In the configure stage:
mkdir -p ${objdir}/single
cd ${objdir}/single
[run configure with --enable-float]
mkdir -p ${objdir}/double
cd ${objdir}/double
[run default configure]

In the make/install/clean/check stages:
cd ${objdir}/single && make {,clean,check,install DESTDIR=${instdir}}
cd ${objdir}/double && make {,clean,check,install DESTDIR=${instdir}}

Hope this helps.

[1]
http://www.gentoo.org/cgi-bin/viewcvs.cgi/sci-libs/fftw/fftw-3.0.1-r2.ebuild?view=markup


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDASNqpiWmPGlmQSMRAoauAKC1ipLm1iLuvbFFWWXfGK/t6RkUMQCg+TIe
FE3Z/b9dyKdIkbS80DvXUe8=
=XZ6m
-----END PGP SIGNATURE-----



More information about the Cygwin-apps mailing list