pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/fftw fftw: avx usage is also gcc-specific in this...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb12512918e6
branches: trunk
changeset: 452769:eb12512918e6
user: nia <nia%pkgsrc.org@localhost>
date: Sat May 15 11:20:52 2021 +0000
description:
fftw: avx usage is also gcc-specific in this package...
diffstat:
math/fftw/options.mk | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (26 lines):
diff -r 7bafa0df3aae -r eb12512918e6 math/fftw/options.mk
--- a/math/fftw/options.mk Sat May 15 11:18:58 2021 +0000
+++ b/math/fftw/options.mk Sat May 15 11:20:52 2021 +0000
@@ -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,13 +9,12 @@
.if !empty(PKGSRC_COMPILER:M*gcc*) || !empty(PKGSRC_COMPILER:M*clang*)
PKG_SUPPORTED_OPTIONS+= simd
+. if ${MACHINE_ARCH} == "x86_64"
+PKG_SUPPORTED_OPTIONS+= avx
+. endif
PKG_SUGGESTED_OPTIONS+= simd
.endif
-.if ${MACHINE_ARCH} == "x86_64"
-PKG_SUPPORTED_OPTIONS+= avx
-.endif
-
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mavx)
Home |
Main Index |
Thread Index |
Old Index