From 75951b6bfddf8b6c129a49e4f264103bcc78ce1a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 7 Feb 2018 20:36:51 +0000 Subject: main/fftw: disable openmp on s390x it seems to deadlock --- main/fftw/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'main/fftw') 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 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 -- cgit v1.2.3