forked from bartvdbraak/blender
9715ad5aca
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
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
|
|
index ba2b1f4..b10f7df 100644
|
|
--- a/numpy/distutils/system_info.py
|
|
+++ b/numpy/distutils/system_info.py
|
|
@@ -2164,8 +2164,8 @@ class accelerate_info(system_info):
|
|
'accelerate' in libraries):
|
|
if intel:
|
|
args.extend(['-msse3'])
|
|
- else:
|
|
- args.extend(['-faltivec'])
|
|
+# else:
|
|
+# args.extend(['-faltivec'])
|
|
args.extend([
|
|
'-I/System/Library/Frameworks/vecLib.framework/Headers'])
|
|
link_args.extend(['-Wl,-framework', '-Wl,Accelerate'])
|
|
@@ -2174,8 +2174,8 @@ class accelerate_info(system_info):
|
|
'veclib' in libraries):
|
|
if intel:
|
|
args.extend(['-msse3'])
|
|
- else:
|
|
- args.extend(['-faltivec'])
|
|
+# else:
|
|
+# args.extend(['-faltivec'])
|
|
args.extend([
|
|
'-I/System/Library/Frameworks/vecLib.framework/Headers'])
|
|
link_args.extend(['-Wl,-framework', '-Wl,vecLib'])
|
|
|