pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/fftw fftw: match future powerpc variants
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ef06262d0ab
branches: trunk
changeset: 452804:4ef06262d0ab
user: nia <nia%pkgsrc.org@localhost>
date: Sun May 16 10:16:26 2021 +0000
description:
fftw: match future powerpc variants
diffstat:
math/fftw/options.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8fc6fe662d5b -r 4ef06262d0ab math/fftw/options.mk
--- a/math/fftw/options.mk Sun May 16 10:14:34 2021 +0000
+++ b/math/fftw/options.mk Sun May 16 10:16:26 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2021/05/16 10:14:09 nia Exp $
+# $NetBSD: options.mk,v 1.11 2021/05/16 10:16:26 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fftw
PKG_SUPPORTED_OPTIONS= fftw-fortran openmp mpi
@@ -27,7 +27,7 @@
# 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"
+. if !empty(MACHINE_ARCH:Mpowerpc*)
FFTW_FLOAT_OPTS+= --enable-altivec
. endif
. if ${MACHINE_ARCH} == "x86_64"
Home |
Main Index |
Thread Index |
Old Index