Blender Git Loki
Git Commits -> Revision 7baf796
Revision 7baf796 by Ankit Meel (master) February 15, 2021, 19:17 (GMT) |
macOS Deps: NumPy: Remove buggy Accelerate framework Building NumPy from source with default options of builder causes it to link against Accelerate framework which is buggy and raises a warning mentioned in [2]. "RankWarning: Polyfit may be poorly conditioned" Accelerate is deprecated with NumPy 1.20+.[1] So either we build OpenBLAS in dependencies also and set appropriate env variables suggested in [1] while building NumPy for it to find OpenBLAS. Or download NumPy wheel from pip and never allow pip to build NumPy from source while installing. After this change, pip wheels are used for NumPy for macOS with x86_64. [1] https://numpy.org/doc/stable/user/building.html#lapack [2] https://github.com/numpy/numpy/issues/15947 Reviewed By: #platform_macos, sebbas Differential Revision: https://developer.blender.org/D10368 |
Commit Details:
Full Hash: 7baf796886b26e638c87c8c6533b7dc6e9b3803c
Parent Commit: 35145db
Lines Changed: +15, -1