Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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] numpy/numpy#15947 Reviewed By: #platform_macos, sebbas Differential Revision: https://developer.blender.org/D10368
- Loading branch information