git: 5ebe1d0cddd1 - main - graphics/blender-lts29: disable SIMD on powerpc* and riscv*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Feb 2022 11:41:24 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5ebe1d0cddd11a02945d2f214787506132fd1ab6
commit 5ebe1d0cddd11a02945d2f214787506132fd1ab6
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-14 11:38:53 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-14 11:38:53 +0000
graphics/blender-lts29: disable SIMD on powerpc* and riscv*
Only supported on x86 and arm.
---
graphics/blender-lts29/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/graphics/blender-lts29/Makefile b/graphics/blender-lts29/Makefile
index 203f6311cef8..f314df67c4a5 100644
--- a/graphics/blender-lts29/Makefile
+++ b/graphics/blender-lts29/Makefile
@@ -178,8 +178,8 @@ CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON
.include <bsd.port.options.mk>
-.if ${ARCH} != amd64 && ${ARCH} != i386
-CMAKE_ARGS+= -DWITH_CPU_SSE:BOOL=OFF
+.if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*}
+CMAKE_ARGS+= -DWITH_CPU_SIMD:BOOL=OFF
.endif
.if ${LLVM_DEFAULT:M[678]0}