aboutsummaryrefslogtreecommitdiff
path: root/package/fftw/Config.in
blob: 4cefa28edff9c1cd1aad87f43b7fb05cdbf5abb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
config BR2_PACKAGE_FFTW
	bool "fftw"
	help
	  Library for computing Fast Fourier Transforms.

	  This library computes Fast Fourier Transforms (FFT) in one
	  or more dimensions.  It is extremely fast. This package
	  contains the shared library version of the fftw libraries in
	  double precision.

	  http://www.fftw.org

if BR2_PACKAGE_FFTW

choice
	prompt "fftw precision"
	default BR2_PACKAGE_FFTW_PRECISION_DOUBLE
	help
	  Selects fftw precision

config BR2_PACKAGE_FFTW_PRECISION_SINGLE
	bool "single"
	help
	  Compile fftw in single precision, i.e. use 'float' for floating
	  point type.

config BR2_PACKAGE_FFTW_PRECISION_DOUBLE
	bool "double"
	help
	  Compile fftw in double precision (the default), i.e. use 'double'
	  for floating point type.

config BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE
	bool "long double"
	# long-double precision require long-double trigonometric routines
	depends on !(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && \
		(BR2_arm || BR2_mips || BR2_mipsel))
	help
	  Compile fftw in long double precision, i.e. use 'long double'
	  for floating point type.

config BR2_PACKAGE_FFTW_PRECISION_QUAD
	bool "quad"
	# quad-precision needs to have a gcc with libquadmath
	depends on (BR2_i386 || BR2_x86_64) && BR2_USE_WCHAR
	help
	  Compile fftw in quadruple precision, i.e. use '__float128' for
	  floating point type.

endchoice

endif