blob: 6d9519f7c9cf971d94d54391d574e2c10b368679 (
plain) (
blame)
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
|
[package]
name : fftw
version : 3.3.4
[about]
home : http://www.fftw.org
license : GPL
summary : ${package:name}
[source]
fn : ${package:name}-${package:version}.tar.gz
url : ${about:home}/${fn}
[build]
number : 4
[requirements]
build :
pkgconfig
run :
# To facilitate other packages that need this package via Autotools
pkgconfig
[cbc_build]
linux :
# You know, being locked to GCC 4.6 is awful. Disabling quad-precision.
#export modes="--enable-single --enable-long-double --enable-quad-precision"
export modes="--enable-single --enable-long-double"
export FFTW_CONFIGURE="./configure --prefix=$$PREFIX --disable-static --enable-shared --enable-threads "
function fftw_build
{
$$FFTW_CONFIGURE "$$@" || exit 1
make -j$$CPU_COUNT || exit 1
make install || exit 1
}
# build once, without options
fftw_build
for mode in $$modes; do fftw_build $$mode; done
windows :
echo Unsupported
|