pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/fftw fftw: enable altivec (detected at runtime) o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/478f02603c2e
branches: trunk
changeset: 452798:478f02603c2e
user: nia <nia%pkgsrc.org@localhost>
date: Sun May 16 08:44:33 2021 +0000
description:
fftw: enable altivec (detected at runtime) on powerpc
test suite runs on mac mini g4.
diffstat:
math/fftw/Makefile | 4 ++--
math/fftw/options.mk | 5 ++++-
2 files changed, 6 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r c8009c8a31de -r 478f02603c2e math/fftw/Makefile
--- a/math/fftw/Makefile Sun May 16 06:56:39 2021 +0000
+++ b/math/fftw/Makefile Sun May 16 08:44:33 2021 +0000
@@ -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 -r c8009c8a31de -r 478f02603c2e math/fftw/options.mk
--- a/math/fftw/options.mk Sun May 16 06:56:39 2021 +0000
+++ b/math/fftw/options.mk Sun May 16 08:44:33 2021 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index