Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2021 14:13:23 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e58bf48b5940 - main - astro/opencpn: Disable SIMD on non x86 architectures
Message-ID:  <202109241413.18OEDNYK041648@gitrepo.freebsd.org>

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

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

commit e58bf48b594024514c59100c05552d5f609b0d33
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2021-09-24 14:09:21 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-09-24 14:13:05 +0000

    astro/opencpn: Disable SIMD on non x86 architectures
    
      - Disable SIMD (SSE and AVX) on !x86 architectures
      - Disable NEON on powerpc* and armv6/7
    
    Approved by:    portmgr (build fix blanket)
---
 astro/opencpn/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/astro/opencpn/Makefile b/astro/opencpn/Makefile
index 2d368132c147..0c946d6ae182 100644
--- a/astro/opencpn/Makefile
+++ b/astro/opencpn/Makefile
@@ -45,8 +45,11 @@ DOCS_CMAKE_OFF=	-DOCPN_BUNDLE_DOCS:STRING="OFF"
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH:Mpowerpc*}
-CMAKE_ARGS+=	-DHAVE_MSSE=OFF -DHAVE_MSSE2=OFF -DHAVE_MSSE3=OFF -DHAVE_MAVX2=OFF -DHAVE_MFPU_NEON=OFF
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+=	-DHAVE_MSSE=OFF -DHAVE_MSSE2=OFF -DHAVE_MSSE3=OFF -DHAVE_MAVX2=OFF
+.endif
+.if ${ARCH:Marmv*} || ${ARCH:Mpowerpc*}
+CMAKE_ARGS+=	-DHAVE_MFPU_NEON=OFF
 .endif
 
 .include <bsd.port.pre.mk>



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