Skip to content

Commit

Permalink
Merge pull request #877 from mariux64/update-fftw-from-3.3.3-to-3.3.8
Browse files Browse the repository at this point in the history
fftw: Update from 3.3.3 to 3.3.8
  • Loading branch information
thomas authored Aug 29, 2018
2 parents 3f0a730 + e470bda commit 98d439e
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 40 deletions.
40 changes: 0 additions & 40 deletions fftw-3.3.3-1.bee

This file was deleted.

69 changes: 69 additions & 0 deletions fftw.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#!/usr/bin/env beesh

# BEE_VERSION fftw-3.3.8-0

SRCURL[0]="ftp://ftp.fftw.org/pub/fftw/fftw-${PKGVERSION}.tar.gz"

mee_configure() {
:
}

# this gives the standard flags in DEFCONFIG
BEE_BUILDTYPE=autotools

mee_build() {

cd ${S}

# fix cflags
local MEE_CFLAGS="-O3 -fPIC"

sed -i "s|-mtune=native|$MEE_CFLAGS|" configure

SIMD='--enable-sse2 --enable-avx'
BUILD='--enable-threads --enable-openmp'

./configure \
$DEFCONFIG \
$BUILD \
$SIMD

make -j $(nproc)
make install DESTDIR=${D}

make clean

./configure \
$DEFCONFIG \
$BUILD \
$SIMD \
--enable-single

make -j $(nproc)
make install DESTDIR=${D}

make clean

./configure \
$DEFCONFIG \
$BUILD \
--enable-long-double

make -j $(nproc)
make install DESTDIR=${D}

make clean

./configure \
$DEFCONFIG \
$BUILD \
--enable-quad-precision

make -j $(nproc)
make install DESTDIR=${D}

}

mee_install() {
:
}

0 comments on commit 98d439e

Please sign in to comment.