aboutsummaryrefslogtreecommitdiffstats
path: root/main/fftw
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-02-07 20:36:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-02-07 20:36:51 +0000
commit75951b6bfddf8b6c129a49e4f264103bcc78ce1a (patch)
tree300871939eac5c363e20c13ef6007d89e5b46653 /main/fftw
parent6c1881db229de5cdc49bc974b7b99badc3e187aa (diff)
downloadaports-75951b6bfddf8b6c129a49e4f264103bcc78ce1a.tar.bz2
aports-75951b6bfddf8b6c129a49e4f264103bcc78ce1a.tar.xz
main/fftw: disable openmp on s390x
it seems to deadlock
Diffstat (limited to 'main/fftw')
-rw-r--r--main/fftw/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/fftw/APKBUILD b/main/fftw/APKBUILD
index d102953694..5fc5659e80 100644
--- a/main/fftw/APKBUILD
+++ b/main/fftw/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=fftw
pkgver=3.3.6p2
-pkgrel=1
+pkgrel=2
pkgdesc="fastest fourier transform in the west"
url="http://www.fftw.org/"
license="GPL-2.0+"
@@ -27,6 +27,10 @@ prepare() {
}
build() {
+ local _openmp=
+ case "$CARCH" in
+ s390x) _openmp="--disable-openmp";; # openmp deadlocks on s390x
+ esac
for i in $_precision; do
case "$i" in
single)_cf="--enable-single";;
@@ -52,6 +56,7 @@ build() {
--infodir=/usr/share/info \
--enable-shared \
--enable-threads \
+ $_openmp \
$_cf
make
done