git: e58bf48b5940 - main - astro/opencpn: Disable SIMD on non x86 architectures
Mikael Urankar
mikael at FreeBSD.org
Fri Sep 24 14:13:24 UTC 2021
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e58bf48b594024514c59100c05552d5f609b0d33
commit e58bf48b594024514c59100c05552d5f609b0d33
Author: Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-09-24 14:09:21 +0000
Commit: Mikael Urankar <mikael at 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>
More information about the dev-commits-ports-all
mailing list