Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Updated fftw recipe to 3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhelmus committed May 16, 2014
1 parent 7b1c610 commit a31873f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 10 additions & 2 deletions fftw/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env bash
# inspired by build script for Arch Linux fftw pacakge:
# https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/fftw

CONFIGURE="./configure --prefix=$PREFIX --enable-shared --enable-threads --disable-fortran"

# Single precision (fftw libraries have "f" suffix)
$CONFIGURE --enable-float --enable-sse
$CONFIGURE --enable-float --enable-sse --enable-avx
make
make install

Expand All @@ -13,9 +15,15 @@ make
make install

# Double precision (fftw libraries have no precision suffix)
$CONFIGURE --enable-sse2
$CONFIGURE --enable-sse2 --enable-avx
make
make install

# Test suite
# tests are performed during building as they are not available in the
# installed package.
# Additional tests can be run with make smallcheck and make bigcheck
cd tests && make check-local
# Additional tests can be run using the next two lines
#make smallcheck
#make bigcheck
12 changes: 8 additions & 4 deletions fftw/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Credits to jeanconn for the package https://binstar.org/jeanconn/fftw
package:
name: fftw
version: "3.3.3"
version: "3.3.4"

source:
fn: fftw-3.3.3.tar.gz
url: http://www.fftw.org/fftw-3.3.3.tar.gz
md5: 0a05ca9c7b3bfddc8278e7c40791a1c2
fn: fftw-3.3.4.tar.gz
url: http://www.fftw.org/fftw-3.3.4.tar.gz
md5: 2edab8c06b24feeb3b82bbb3ebf3e7b3

requirements:
build:

# Note: tests are run when building the package, they are not accessible
# in the installed package.

about:
home: http://fftw.org
license: GNU General Public License (GPL)
Expand Down

0 comments on commit a31873f

Please sign in to comment.