mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
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.
This commit is contained in:
parent
9c489c4d48
commit
f5bbed8262
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user