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

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

Cheers.

Like this:

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

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
 	    "$(BLENDER_DIR)/release/datafiles/blender_icons_geom_update.py"
 
 update: .FORCE
-	@$(PYTHON) ./build_files/utils/make_update.py
+	@$(PYTHON) ./build_files/utils/make_update.py --architecture="x86_64"
 
 update_code: .FORCE
 	@$(PYTHON) ./build_files/utils/make_update.py --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!