Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2021 11:17:37 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1a1f2fbd6cce - main - math/fftw3: fix altivec check
Message-ID:  <202110311117.19VBHbEW027455@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a1f2fbd6ccefa2eb32a6966b0ec5c7ab4283985

commit 1a1f2fbd6ccefa2eb32a6966b0ec5c7ab4283985
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-10-31 11:13:07 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-10-31 11:13:07 +0000

    math/fftw3: fix altivec check
    
    MACHINE_CPU is actually empty on powerpc* so just enable altivec on powerpc64*,
    which should have altivec anyway.
---
 math/fftw3/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index 5c1f93409379..74e7e520b405 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -94,7 +94,7 @@ CONFIGURE_ARGS+=--enable-avx2 --enable-fma
 .    if !empty(MACHINE_CPU:Msse)
 CONFIGURE_ARGS+=--enable-sse2
 .    endif
-.    if !empty(ARCH:Mpowerpc*) && !empty(MACHINE_CPU:Maltivec)
+.    if !empty(ARCH:Mpowerpc64*)
 CONFIGURE_ARGS+=--enable-altivec
 .    endif
 .    if ${ARCH} == "aarch64"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110311117.19VBHbEW027455>