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 11:20:53 UTC 2021

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

Log Message:
fftw: avx usage is also gcc-specific in this package...


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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/options.mk
diff -u pkgsrc/math/fftw/options.mk:1.7 pkgsrc/math/fftw/options.mk:1.8
--- pkgsrc/math/fftw/options.mk:1.7     Sat May 15 11:18:58 2021
+++ pkgsrc/math/fftw/options.mk Sat May 15 11:20:52 2021
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2021/05/15 11:18:58 nia Exp $
+# $NetBSD: options.mk,v 1.8 2021/05/15 11:20:52 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.fftw
 # fftw (double) and fftwf (single) are always built, you can add
@@ -9,11 +9,10 @@ PKG_SUPPORTED_OPTIONS=        fftw-fortran open
 
 .if !empty(PKGSRC_COMPILER:M*gcc*) || !empty(PKGSRC_COMPILER:M*clang*)
 PKG_SUPPORTED_OPTIONS+=        simd
-PKG_SUGGESTED_OPTIONS+=        simd
-.endif
-
-.if ${MACHINE_ARCH} == "x86_64"
+.  if ${MACHINE_ARCH} == "x86_64"
 PKG_SUPPORTED_OPTIONS+=        avx
+.  endif
+PKG_SUGGESTED_OPTIONS+=        simd
 .endif
 
 .include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index