SPECS: fftw3.spec - enable long double support for alpha, ppc, spa...
pluto
pluto at pld-linux.org
Thu Mar 16 16:04:01 CET 2006
Author: pluto Date: Thu Mar 16 15:04:01 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- enable long double support for alpha, ppc, sparc.
with new toolchain ldbl != dbl on alpha/ppc/sparc/s390.
on ppc the long-double from "C" represents a double-double format.
http://developer.apple.com/documentation/mac/PPCNumerics/PPCNumerics-18.html
---- Files affected:
SPECS:
fftw3.spec (1.24 -> 1.25)
---- Diffs:
================================================================
Index: SPECS/fftw3.spec
diff -u SPECS/fftw3.spec:1.24 SPECS/fftw3.spec:1.25
--- SPECS/fftw3.spec:1.24 Wed Feb 8 16:11:55 2006
+++ SPECS/fftw3.spec Thu Mar 16 16:03:55 2006
@@ -1,17 +1,10 @@
# $Revision$, $Date$
-#
-%bcond_without fftwl # don't build "long" subpackages
-#
-%ifarch alpha ppc sparc
-# sizeof(double long)==sizeof(double) on these archs
-%undefine with_fftwl
-%endif
Summary: Fast Fourier Transform library
Summary(pl): Biblioteka z funkcjami szybkiej transformaty Fouriera
Summary(pt_BR): biblioteca fast fourier transform
Name: fftw3
Version: 3.1
-Release: 2
+Release: 3
License: GPL
Group: Libraries
Source0: ftp://ftp.fftw.org/pub/fftw/fftw-%{version}.tar.gz
@@ -22,7 +15,10 @@
URL: http://www.fftw.org/
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: gcc-g77
+# for 128-bit long double support
+BuildRequires: gcc-fortran >= 5:4.1.0-1
+BuildRequires: glibc >= 6:2.4-1
+#
BuildRequires: libtool
BuildRequires: texinfo
Requires: %{name}-common = %{version}-%{release}
@@ -233,7 +229,7 @@
ln -sf . double
# MMX/SSE/etc. seem to be safe because of runtime CPU detection
-for ver in single double %{?with_fftwl:long-double} ; do
+for ver in single double long-double; do
OPTS=""
# k7,SSE,3dnow,altivec only for single
if [ "$ver" = "single" ]; then
@@ -278,10 +274,8 @@
%{__make} install -C single \
DESTDIR=$RPM_BUILD_ROOT
-%if %{with fftwl}
%{__make} install -C long-double\
DESTDIR=$RPM_BUILD_ROOT
-%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -335,7 +329,6 @@
%{_libdir}/libfftw3f.a
%{_libdir}/libfftw3f_threads.a
-%if %{with fftwl}
%files long
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/fftwl-wisdom
@@ -355,7 +348,6 @@
%defattr(644,root,root,755)
%{_libdir}/libfftw3l.a
%{_libdir}/libfftw3l_threads.a
-%endif
%files common
%defattr(644,root,root,755)
@@ -375,6 +367,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2006/03/16 15:03:55 pluto
+- enable long double support for alpha, ppc, sparc.
+ with new toolchain ldbl != dbl on alpha/ppc/sparc/s390.
+
+ on ppc the long-double from "C" represents a double-double format.
+ http://developer.apple.com/documentation/mac/PPCNumerics/PPCNumerics-18.html
+
Revision 1.24 2006/02/08 15:11:55 pluto
- better simd detection.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/fftw3.spec?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list