diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-05-22 19:26:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 11:26:27 -0500 |
commit | 78593a1059f0a9c04385f97b2c1caa221efefa5f (patch) | |
tree | 8dd408a53518726d2c392edeb4c6d1e62869278b /numpy/linalg/setup.py | |
parent | dabf31c74f6f3153ef4e7c72ad969c37f8652c8a (diff) | |
download | numpy-78593a1059f0a9c04385f97b2c1caa221efefa5f.tar.gz |
BUILD: Remove Accelerate support (#15759)
Remove support for Apple Accelerate, since it is buggy. A build error should
occur on most or all setups if linked against Accelerate. Test or import failures
should occur on setups where Accelerate is picked up dynamically.
Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
Diffstat (limited to 'numpy/linalg/setup.py')
-rw-r--r-- | numpy/linalg/setup.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/numpy/linalg/setup.py b/numpy/linalg/setup.py index 57fdd502b..bb070ed9d 100644 --- a/numpy/linalg/setup.py +++ b/numpy/linalg/setup.py @@ -3,11 +3,17 @@ import sys def configuration(parent_package='', top_path=None): from numpy.distutils.misc_util import Configuration - from numpy.distutils.system_info import get_info, system_info + from numpy.distutils.system_info import ( + get_info, system_info, lapack_opt_info, blas_opt_info) config = Configuration('linalg', parent_package, top_path) config.add_subpackage('tests') + # Accelerate is buggy, disallow it. See also numpy/core/setup.py + for opt_order in (blas_opt_info.blas_order, lapack_opt_info.lapack_order): + if 'accelerate' in opt_order: + opt_order.remove('accelerate') + # Configure lapack_lite src_dir = 'lapack_lite' |