Skip to content
Snippets Groups Projects
Commit 33e66e9b authored by Timo Teräs's avatar Timo Teräs
Browse files

main/fftw: fix arm build (neon works only with single precision)

parent 4796dfe1
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=fftw pkgname=fftw
pkgver=3.3.4 pkgver=3.3.4
pkgrel=1 pkgrel=2
pkgdesc="fastest fourier transform in the west" pkgdesc="fastest fourier transform in the west"
url="http://www.fftw.org/" url="http://www.fftw.org/"
license="GPL" license="GPL"
...@@ -33,14 +33,14 @@ build() { ...@@ -33,14 +33,14 @@ build() {
long-double)_cf="--enable-long-double";; long-double)_cf="--enable-long-double";;
esac esac
if [ "$i" = "single" ] || [ "$i" = "double" ]; then case "$i--$CARCH" in
case "$CARCH" in single--x86_64 | double--x86_64)
x86_64)_cf="$_cf --enable-sse2 --enable-avx";; _cf="$_cf --enable-sse2 --enable-avx";;
armhf)_cf="$_cf --enable-neon";; single--arm*)
esac _cf="$_cf --enable-neon";;
fi esac
msg "Building for $i precision" msg "Building for $i precision ($_cf)"
cd "$_builddir"/$i cd "$_builddir"/$i
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment