Ravenports generated: 13 May 2023 00:17
[ravenports.git] / bucket_90 / fftw
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               fftw
4 VERSION=                3.3.10
5 REVISION=               1
6 KEYWORDS=               math
7 VARIANTS=               standard float long quad
8 SDESC[quad]=            Fast Fourier Transform library (quad precision)
9 SDESC[float]=           Fast Fourier Transform library (float)
10 SDESC[standard]=        Fast Fourier Transform library (double)
11 SDESC[long]=            Fast Fourier Transform library (long double)
12 HOMEPAGE=               http://www.fftw.org/
13 CONTACT=                nobody
14
15 DOWNLOAD_GROUPS=        main
16 SITES[main]=            http://www.fftw.org/
17 DISTFILE[1]=            fftw-3.3.10.tar.gz:main
18 DF_INDEX=               1
19 SPKGS[quad]=            single
20 SPKGS[float]=           single
21 SPKGS[standard]=        single
22 SPKGS[long]=            single
23
24 OPTIONS_AVAILABLE=      FLOAT LONG QUAD FLAV
25 OPTIONS_STANDARD=       none
26 VOPTS[quad]=            FLOAT=OFF LONG=OFF QUAD=ON FLAV=ON
27 VOPTS[float]=           FLOAT=ON LONG=OFF QUAD=OFF FLAV=ON
28 VOPTS[long]=            FLOAT=OFF LONG=ON QUAD=OFF FLAV=ON
29
30 USES=                   cmake makeinfo perl:build pkgconfig fortran:single
31
32 LICENSE=                GPLv2+:single
33 LICENSE_TERMS=          single:{{WRKSRC}}/COPYRIGHT
34 LICENSE_FILE=           GPLv2+:{{WRKSRC}}/COPYING
35 LICENSE_SCHEME=         solo
36
37 FPC_EQUIVALENT=         math/fftw3
38 INFO_SUBDIR=            .
39
40 SOVERSION=              3.6.9
41 PLIST_SUB=              OPENMPI="@comment "
42                         OMP={{VAR1}}
43
44 CMAKE_ARGS=             -DBUILD_SHARED_LIBS:BOOL=ON
45                         -DBUILD_TESTS:BOOL=ON
46                         -DENABLE_OPENMP:BOOL=ON
47                         -DENABLE_THREADS:BOOL=ON
48
49 [FLAV].DESCRIPTION=                     Enabled for non-standard variants
50 [FLAV].INFO_OFF=                        single:fftw3
51
52 [QUAD].DESCRIPTION=                     Build quad precision version of fftw
53 [QUAD].CMAKE_ARGS_ON=                   -DENABLE_QUAD_PRECISION:BOOL=ON
54
55 [FLOAT].DESCRIPTION=                    Build float version of fftw
56 [FLOAT].CMAKE_ARGS_ON=                  -DENABLE_FLOAT:BOOL=ON
57
58 [LONG].DESCRIPTION=                     Build long double version of fftw
59 [LONG].CMAKE_ARGS_ON=                   -DENABLE_LONG_DOUBLE:BOOL=ON
60
61 post-patch:
62         ${REINPLACE_CMD} -e 's|/etc/fftw|${PREFIX}/etc/fftw|' \
63                 ${WRKSRC}/api/import-system-wisdom.c \
64                 ${WRKSRC}/doc/fftw3* \
65                 ${WRKSRC}/tools/*
66
67 post-patch-QUAD-ON:
68         ${REINPLACE_CMD} -e '/target_link_libraries/ s| m)| m quadmath)|' \
69                 ${WRKSRC}/CMakeLists.txt
70
71 post-install:
72         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.${LIBEXT}
73
74 post-install-FLAV-ON:
75         ${RM} ${STAGEDIR}${PREFIX}/include/*
76         ${RM} -r ${STAGEDIR}${PREFIX}/share/info
77
78 [FILE:548:descriptions/desc.single]
79 FFTW is a C subroutine library for computing the Discrete Fourier Transform
80 (DFT) in one or more dimensions, of both real and complex data, and of
81 arbitrary input size. We believe that FFTW, which is free software, should
82 become the FFT library of choice for most applications. Our benchmarks,
83 performed on a variety of platforms, show that FFTW's performance is
84 typically superior to that of other publicly available FFT software.
85 Moreover, FFTW's performance is portable: the program will perform well on
86 most architectures without modification.
87
88
89 [FILE:97:distinfo]
90 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467      4144100 fftw-3.3.10.tar.gz
91
92
93 [FILE:457:manifests/plist.single.standard]
94 %%OMP%%lib/
95  libfftw3_omp.so
96  libfftw3_omp.so.%%SOMAJOR%%
97  libfftw3_omp.so.%%SOVERSION%%
98 include/
99  fftw3.f
100  fftw3.f03
101  fftw3.h
102  fftw3l.f03
103  fftw3q.f03
104 lib/
105  libfftw3.so
106  libfftw3.so.%%SOMAJOR%%
107  libfftw3.so.%%SOVERSION%%
108  libfftw3_threads.so
109  libfftw3_threads.so.%%SOMAJOR%%
110  libfftw3_threads.so.%%SOVERSION%%
111 lib/cmake/fftw3/
112  FFTW3Config.cmake
113  FFTW3ConfigVersion.cmake
114  FFTW3LibraryDepends-release.cmake
115  FFTW3LibraryDepends.cmake
116 lib/pkgconfig/fftw3.pc
117
118
119 [FILE:421:manifests/plist.single.float]
120 %%OMP%%lib/
121  libfftw3f_omp.so
122  libfftw3f_omp.so.%%SOMAJOR%%
123  libfftw3f_omp.so.%%SOVERSION%%
124 lib/
125  libfftw3f.so
126  libfftw3f.so.%%SOMAJOR%%
127  libfftw3f.so.%%SOVERSION%%
128  libfftw3f_threads.so
129  libfftw3f_threads.so.%%SOMAJOR%%
130  libfftw3f_threads.so.%%SOVERSION%%
131 lib/cmake/fftw3f/
132  FFTW3LibraryDepends-%%CMAKE_BUILD_TYPE%%.cmake
133  FFTW3LibraryDepends.cmake
134  FFTW3fConfig.cmake
135  FFTW3fConfigVersion.cmake
136 lib/pkgconfig/fftw3f.pc
137
138
139 [FILE:421:manifests/plist.single.long]
140 %%OMP%%lib/
141  libfftw3l_omp.so
142  libfftw3l_omp.so.%%SOMAJOR%%
143  libfftw3l_omp.so.%%SOVERSION%%
144 lib/
145  libfftw3l.so
146  libfftw3l.so.%%SOMAJOR%%
147  libfftw3l.so.%%SOVERSION%%
148  libfftw3l_threads.so
149  libfftw3l_threads.so.%%SOMAJOR%%
150  libfftw3l_threads.so.%%SOVERSION%%
151 lib/cmake/fftw3l/
152  FFTW3LibraryDepends-%%CMAKE_BUILD_TYPE%%.cmake
153  FFTW3LibraryDepends.cmake
154  FFTW3lConfig.cmake
155  FFTW3lConfigVersion.cmake
156 lib/pkgconfig/fftw3l.pc
157
158
159 [FILE:408:manifests/plist.single.quad]
160 %%OMP%%lib/
161  libfftw3q_omp.so
162  libfftw3q_omp.so.%%SOMAJOR%%
163  libfftw3q_omp.so.%%SOVERSION%%
164 lib/
165  libfftw3q.so
166  libfftw3q.so.%%SOMAJOR%%
167  libfftw3q.so.%%SOVERSION%%
168  libfftw3q_threads.so
169  libfftw3q_threads.so.%%SOMAJOR%%
170  libfftw3q_threads.so.%%SOVERSION%%
171 lib/cmake/fftw3q/
172  FFTW3LibraryDepends-release.cmake
173  FFTW3LibraryDepends.cmake
174  FFTW3qConfig.cmake
175  FFTW3qConfigVersion.cmake
176 lib/pkgconfig/fftw3q.pc
177
178
179 [FILE:289:patches/patch-simd-support_taint.c]
180 --- simd-support/taint.c.orig   2020-12-10 12:02:44 UTC
181 +++ simd-support/taint.c
182 @@ -40,4 +40,8 @@ R *X(join_taint)(R *p1, R *p2)
183       A(UNTAINT(p1) == UNTAINT(p2));
184       return (R *)(PTRINT(p1) | PTRINT(p2));
185  }
186 +#else
187 +# ifdef __sun__
188 +int Solaris_requires_a_symbol= 0;
189 +# endif
190  #endif
191