On Sat, Mar 26, 2022 at 09:53:02PM -0400, Brad Smith wrote:
> The following diff for Blender allows building Blender on aarch64. It's the
> same issue I saw on riscv64. The CMake bits try to enable the SSE / AVX SIMD
> bits everywhere.
>
Not tested by me but Okay. And any news regarding when the next version of
python will be made default? I ask since blender-3.1.0 update depends on it.
regards,
Dimitri
>
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/graphics/blender/Makefile,v
> retrieving revision 1.109
> diff -u -p -u -p -r1.109 Makefile
> --- Makefile 14 Mar 2022 10:48:38 -0000 1.109
> +++ Makefile 26 Mar 2022 08:21:11 -0000
> @@ -1,4 +1,4 @@
> -ONLY_FOR_ARCHS = amd64 i386
> +ONLY_FOR_ARCHS = aarch64 amd64 i386 powerpc powerpc64 riscv64 sparc64
> DPB_PROPERTIES = parallel
>
> COMMENT = 3D creation software
> @@ -43,6 +43,10 @@ CONFIGURE_ARGS = -DPYTHON_INCLUDE_DIR="$
> -DWITH_CYCLES_EMBREE=OFF \
> -DWITH_JACK=OFF \
> -DWITH_PULSEAUDIO=OFF
> +
> +.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "i386"
> +CONFIGURE_ARGS+= -DWITH_CPU_SIMD=OFF
> +.endif
>
> BUILD_DEPENDS = math/py-numpy${MODPY_FLAVOR} \
> www/py-requests${MODPY_FLAVOR}
No comments:
Post a Comment