diff options
author | nia <nia@pkgsrc.org> | 2021-05-16 08:44:33 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-05-16 08:44:33 +0000 |
commit | 88b74caff9e8e141a780a9a8313b132e1ce03f8a (patch) | |
tree | b0f14793f2f6edc7e334e0cfb77ef7b19ed438ec | |
parent | 0d6e51d76802c03ac6154db69e688526267e9add (diff) | |
download | pkgsrc-88b74caff9e8e141a780a9a8313b132e1ce03f8a.tar.gz |
fftw: enable altivec (detected at runtime) on powerpc
test suite runs on mac mini g4.
-rw-r--r-- | math/fftw/Makefile | 4 | ||||
-rw-r--r-- | math/fftw/options.mk | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/math/fftw/Makefile b/math/fftw/Makefile index a998042ea75..c4ae12d430a 100644 --- a/math/fftw/Makefile +++ b/math/fftw/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.72 2021/05/15 11:18:58 nia Exp $ +# $NetBSD: Makefile,v 1.73 2021/05/16 08:44:33 nia Exp $ DISTNAME= fftw-3.3.9 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= math MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ MASTER_SITES+= http://www.fftw.org/ diff --git a/math/fftw/options.mk b/math/fftw/options.mk index 47f00a277dc..107932d0d3c 100644 --- a/math/fftw/options.mk +++ b/math/fftw/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.8 2021/05/15 11:20:52 nia Exp $ +# $NetBSD: options.mk,v 1.9 2021/05/16 08:44:33 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.fftw # fftw (double) and fftwf (single) are always built, you can add @@ -29,6 +29,9 @@ FFTW_DOUBLE_OPTS+= --enable-${opt} # Generic compiler vector abstractions (GCC extension). FFTW_FLOAT_OPTS+= --enable-generic-simd128 --enable-generic-simd256 FFTW_DOUBLE_OPTS+= --enable-generic-simd128 --enable-generic-simd256 +. if ${MACHINE_ARCH} == "powerpc" +FFTW_FLOAT_OPTS+= --enable-altivec +. endif . if ${MACHINE_ARCH} == "x86_64" FFTW_FLOAT_OPTS+= --enable-sse2 FFTW_DOUBLE_OPTS+= --enable-sse2 |