Opened 6 months ago

Last modified 6 months ago

#73698 assigned update

blender @2.93.17 doesn't compile on Apple Silicon and is four years out of date

Reported by: JLindop Owned by: jasonliu-- (Jason Liu)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: blender

Description

The Blender port is out-of-date and appears to be unable to be compiled for Apple Silicon. When I try to install it on my M1 Mac, it says

Computing dependencies for blender
Error: Cannot install embree for the arch 'arm64' because
Error: its dependency ispc only supports the arch 'x86_64'.

This is a problem, because [Intel Macs are not officially supported by Blender 5 onwards https://devtalk.blender.org/t/deprecation-and-removal-of-macos-intel-builds-in-blender-5-0/38835].

I tried making a new Portfile myself that would work with modern Blender versions, but Blender's build system appears to be designed to download pre-built libraries using git-lfs and statically link them, rather than dynamically linking package-manager packages like MacPorts prefers: dynamically-linked libraries appear to only be documented for Linux builds. The existing port gets around this with patch files and find/replace operations, but those are above my level of expertise.

Given the large amount of libraries that Blender requires, some of which are either not on MacPorts or not up-to-date, would it be acceptable to submit a port which builds using Blender's standard statically-linked system rather than a more ideal dynamically-linked binary in the interest of having an up-to-date blender port?

Change History (1)

comment:1 Changed 6 months ago by jmroot (Joshua Root)

Owner: set to jasonliu--
Status: newassigned
Type: defectupdate
Note: See TracTickets for help on using tickets.