diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2021-02-15 22:17:50 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2021-02-15 22:17:50 +0300 |
commit | 7baf796886b26e638c87c8c6533b7dc6e9b3803c (patch) | |
tree | 73610945a13f9a9e4a9d83ffdb9d7334bac0dae5 /intern/cycles/util/util_defines.h | |
parent | 35145db056fccff0895a5366a72ad8b43b137e9b (diff) |
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
Diffstat (limited to 'intern/cycles/util/util_defines.h')
0 files changed, 0 insertions, 0 deletions