pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/fftw



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May 16 08:44:33 UTC 2021

Modified Files:
        pkgsrc/math/fftw: Makefile options.mk

Log Message:
fftw: enable altivec (detected at runtime) on powerpc

test suite runs on mac mini g4.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/math/fftw/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/fftw/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/fftw/Makefile
diff -u pkgsrc/math/fftw/Makefile:1.72 pkgsrc/math/fftw/Makefile:1.73
--- pkgsrc/math/fftw/Makefile:1.72      Sat May 15 11:18:58 2021
+++ pkgsrc/math/fftw/Makefile   Sun May 16 08:44:33 2021
@@ -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/

Index: pkgsrc/math/fftw/options.mk
diff -u pkgsrc/math/fftw/options.mk:1.8 pkgsrc/math/fftw/options.mk:1.9
--- pkgsrc/math/fftw/options.mk:1.8     Sat May 15 11:20:52 2021
+++ pkgsrc/math/fftw/options.mk Sun May 16 08:44:33 2021
@@ -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



Home | Main Index | Thread Index | Old Index