Skip to content
Permalink
726b4877f9
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Rewrote the beefile to build all flavours of fftw.

I'm aware that this bee file breaks with almost everything
from the book 'good bee style'. If anyone has a better
solution to consistently build fftw for various datatypes
with bee -- let me know.

Flames welcome :)

https://www.youtube.com/watch?v=en1uwIzI3SE
(Fire - The Crazy World Of Arthur Brown)
1 contributor

Users who have contributed to this file

executable file 69 lines (47 sloc) 1.05 KB
#!/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() {
:
}