Blender Git Loki

Git Commits -> Revision 9715ad5

Revision 9715ad5 by Stefan Werner (master)
July 16, 2020, 07:37 (GMT)
macOS: Support arm64 architecture.

Enabling all `make deps` dependencies with the exception of Embree and OIDN.
After that, Blender can be compiled on an Apple Silicon Mac just like on any
Intel based Mac. There are still compiler warnings that need to be
investigated and there are probably a couple of bug still to be discovered
and to be fixed.

Most patches to the dependencies are simple and are about disabling SSE and
setting the proper architecture to compiile for. Notable exception is Python,
where I back ported a yet to be accepted PR for upstream Python:
https://github.com/python/cpython/pull/21249

Cross compiling or buliding a Universal Binary is not supported yet.
The minimum macOS target version for x86_64 remains at 10.13, the target
for arm64 is 11.00.

Differential Revision: https://developer.blender.org/D8236

Commit Details:

Full Hash: 9715ad5acad9a42b65efd64b6c7fbe157f949bfb
Parent Commit: ad4928a
Lines Changed: +553, -33

5 Added Paths:

/build_files/build_environment/patches/numpy.diff (+27, -0) (View)
/build_files/build_environment/patches/openmp.diff (+23, -0) (View)
/build_files/build_environment/patches/python_macos.diff (+289, -0) (View)
/build_files/build_environment/patches/sqlite.diff (+14, -0) (View)
/build_files/build_environment/patches/theora.diff (+18, -0) (View)

22 Modified Paths:

/build_files/build_environment/cmake/clang.cmake (+5, -0) (Diff)
/build_files/build_environment/cmake/harvest.cmake (+6, -4) (Diff)
/build_files/build_environment/cmake/llvm.cmake (+7, -1) (Diff)
/build_files/build_environment/cmake/numpy.cmake (+1, -0) (Diff)
/build_files/build_environment/cmake/opencolorio.cmake (+7, -0) (Diff)
/build_files/build_environment/cmake/openmp.cmake (+1, -0) (Diff)
/build_files/build_environment/cmake/options.cmake (+19, -7) (Diff)
/build_files/build_environment/cmake/png.cmake (+4, -0) (Diff)
/build_files/build_environment/cmake/python.cmake (+6, -2) (Diff)
/build_files/build_environment/cmake/sqlite.cmake (+1, -1) (Diff)
/build_files/build_environment/cmake/ssl.cmake (+1, -1) (Diff)
/build_files/build_environment/cmake/ssl.conf (+5, -0) (Diff)
/build_files/build_environment/cmake/theora.cmake (+1, -0) (Diff)
/build_files/build_environment/cmake/vpx.cmake (+5, -1) (Diff)
/build_files/build_environment/cmake/x264.cmake (+8, -3) (Diff)
/build_files/build_environment/CMakeLists.txt (+5, -3) (Diff)
/build_files/build_environment/patches/blosc.diff (+38, -0) (Diff)
/build_files/build_environment/patches/opencollada.diff (+0, -0) (Diff)
/build_files/build_environment/patches/usd.diff (+33, -0) (Diff)
/build_files/cmake/platform/platform_apple.cmake (+13, -3) (Diff)
/build_files/cmake/platform/platform_apple_xcode.cmake (+15, -6) (Diff)
/CMakeLists.txt (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021