Date: Tue, 6 Apr 2021 12:14:12 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: f5bbed8262a8 - main - graphics/blender: fix build on non-x86 Message-ID: <202104061214.136CECW5020278@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=f5bbed8262a843799d1dbcbabac49282fec2d41e commit f5bbed8262a843799d1dbcbabac49282fec2d41e Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-04-06 12:14:47 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-04-06 12:14:47 +0000 graphics/blender: fix build on non-x86 Don't use SSE on non-x86. /wrkdirs/usr/ports/graphics/blender/work/blender-2.91.0/intern/cycles/util/../util/util_simd.h:60:14: error: unknown type name '__m128' extern const __m128 _mm_lookupmask_ps[16]; Additionally, libunwind works on more architectures. --- graphics/blender/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index c7159dc67ad4..57acabb6e919 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -65,8 +65,8 @@ AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_CMAKE_BOOL= WITH_LIBMV CAMERATRACK_LIB_DEPENDS= libunwind.so:devel/libunwind -CAMERATRACK_ONLY_FOR_ARCHS= i386 amd64 -CAMERATRACK_ONLY_FOR_ARCHS_REASON= libunwind only supports x86/amd64 +CAMERATRACK_ONLY_FOR_ARCHS= i386 amd64 aarch64 powerpc64 powerpc64le +CAMERATRACK_ONLY_FOR_ARCHS_REASON= libunwind only supports x86/amd64/aarch64/powerpc64/powerpc64le CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ @@ -171,6 +171,10 @@ CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .include <bsd.port.options.mk> +.if ${ARCH} != amd64 && ${ARCH} != i386 +CMAKE_ARGS+= -DWITH_CPU_SSE:BOOL=OFF +.endif + .if ${LLVM_DEFAULT:M[678]0} LLVM_VER= 90 .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104061214.136CECW5020278>