aboutsummaryrefslogtreecommitdiff
path: root/fftw
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-08-05 22:00:37 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-08-05 22:00:37 -0400
commit6fd1cc9c3129cd5c2da620626e2b2574654b83b6 (patch)
tree4481e9945809b06ec0c312e747ce38995c76ba11 /fftw
parent28e63eaa07a389bcae50e851b219512860a166fe (diff)
downloadcbc-recipes-6fd1cc9c3129cd5c2da620626e2b2574654b83b6.tar.gz
Add fftw, pyfftw, pywcs, reftools, stistools
Diffstat (limited to 'fftw')
-rw-r--r--fftw/fftw.ini43
1 files changed, 43 insertions, 0 deletions
diff --git a/fftw/fftw.ini b/fftw/fftw.ini
new file mode 100644
index 0000000..c8ab085
--- /dev/null
+++ b/fftw/fftw.ini
@@ -0,0 +1,43 @@
+[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 : 0
+
+[requirements]
+build :
+ #none
+run :
+ #none
+
+[cbc_build]
+linux :
+ export modes="--enable-single --enable-long-double --enable-quad-precision"
+ 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
+
+