libsemanage: bump to version 2.5
[buildroot-gz.git] / package / fftw / Config.in
blobef1138493fbb1b2dbdd6f1d4612ec6785cbf9cba
1 config BR2_PACKAGE_FFTW
2         bool "fftw"
3         help
4           Library for computing Fast Fourier Transforms.
6           This library computes Fast Fourier Transforms (FFT) in one
7           or more dimensions. It is extremely fast. This package
8           contains the shared library version of the fftw libraries in
9           double precision.
11           http://www.fftw.org
13 if BR2_PACKAGE_FFTW
15 config BR2_PACKAGE_FFTW_USE_SSE
16         bool
18 config BR2_PACKAGE_FFTW_USE_SSE2
19         bool
21 config BR2_PACKAGE_FFTW_USE_NEON
22         bool
24 choice
25         prompt "fftw precision"
26         default BR2_PACKAGE_FFTW_PRECISION_DOUBLE
27         help
28           Selects fftw precision
30 config BR2_PACKAGE_FFTW_PRECISION_SINGLE
31         bool "single"
32         select BR2_PACKAGE_FFTW_USE_SSE if BR2_X86_CPU_HAS_SSE
33         select BR2_PACKAGE_FFTW_USE_SSE2 if BR2_X86_CPU_HAS_SSE2
34         select BR2_PACKAGE_FFTW_USE_NEON if BR2_ARM_CPU_HAS_NEON && !BR2_ARM_SOFT_FLOAT
35         help
36           Compile fftw in single precision, i.e. use 'float' for floating
37           point type.
39 config BR2_PACKAGE_FFTW_PRECISION_DOUBLE
40         bool "double"
41         select BR2_PACKAGE_FFTW_USE_SSE2 if BR2_X86_CPU_HAS_SSE2
42         help
43           Compile fftw in double precision (the default), i.e. use 'double'
44           for floating point type.
46 config BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE
47         bool "long double"
48         # long-double precision require long-double trigonometric routines
49         depends on !(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && \
50                 (BR2_arm || BR2_mips || BR2_mipsel))
51         help
52           Compile fftw in long double precision, i.e. use 'long double'
53           for floating point type.
55 config BR2_PACKAGE_FFTW_PRECISION_QUAD
56         bool "quad"
57         # quad-precision needs to have a gcc with libquadmath
58         depends on (BR2_i386 || BR2_x86_64) && BR2_USE_WCHAR
59         help
60           Compile fftw in quadruple precision, i.e. use '__float128' for
61           floating point type.
63 endchoice
65 config BR2_PACKAGE_FFTW_FAST
66         bool "optimise for speed over accuracy"
67         help
68           Optimise for fast math functions, at the expense of accuracy.
70           Say 'y' if you need speed and can live with inaccuracies in
71           the results. Say 'n' (the default) if accuracy is of utmost
72           importance.
74           This basically uses gcc's -Ofast optimisation level, which in
75           turn is basically using gcc's -ffast-math. See the gcc manual
76           for what this means.
78 endif