How to cross compile a Blender Apple Intel binary from an Apple Silicon system?

Any simple way of doing this (MAKE or CMAKE arguments?)


Like this:

make release BUILD_DIR=../build_x86_64 BUILD_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=x86_64"

Works great, thanks @brecht, however, it requires the following for make update to work as well prior to compiling:

diff --git a/GNUmakefile b/GNUmakefile
index 33a0dec4106..dd13a8065a5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -552,7 +552,7 @@ icons_geom: .FORCE
 update: .FORCE
-	@$(PYTHON) ./build_files/utils/
+	@$(PYTHON) ./build_files/utils/ --architecture="x86_64"
 update_code: .FORCE
 	@$(PYTHON) ./build_files/utils/ --no-libraries
1 Like

Ah yes, you could also manually svn checkout the libraries also. Once they have been checked out once, make update will be able to update them without requiring code modifications.

OK thx, good to know!