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:           Sat May 15 10:12:31 UTC 2021

Modified Files:
        pkgsrc/math/fftw: Makefile

Log Message:
fftw: fix gcc version matching for earlier versions


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 pkgsrc/math/fftw/Makefile

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.68 pkgsrc/math/fftw/Makefile:1.69
--- pkgsrc/math/fftw/Makefile:1.68      Fri May  7 12:31:22 2021
+++ pkgsrc/math/fftw/Makefile   Sat May 15 10:12:31 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2021/05/07 12:31:22 thor Exp $
+# $NetBSD: Makefile,v 1.69 2021/05/15 10:12:31 nia Exp $
 
 DISTNAME=      fftw-3.3.9
 PKGREVISION=   5
@@ -62,7 +62,7 @@ FFTW_DOUBLE_OPTS=     --enable-generic-simd1
 FFTW_FLOAT_OPTS+=      --enable-sse --enable-sse2 --enable-avx
 FFTW_DOUBLE_OPTS+=     --enable-sse2 --enable-avx
 # From gcc-4.9 on, these should work trouble-free.
-.  if empty(CC_VERSION:Mgcc-4.8.*)
+.  if empty(CC_VERSION:Mgcc-4.*) || !empty(CC_VERSION:Mgcc-4.9.*)
 FFTW_FLOAT_OPTS+=      --enable-avx2 --enable-avx512 --enable-avx-128-fma
 FFTW_DOUBLE_OPTS+=     --enable-avx2 --enable-avx512 --enable-avx-128-fma
 .  endif



Home | Main Index | Thread Index | Old Index