summaryrefslogtreecommitdiff
path: root/numpy/distutils/system_info.py
diff options
context:
space:
mode:
authorMatthew Badin <mbadin@apple.com>2021-05-01 11:30:24 -0700
committerMatthew Badin <mbadin@apple.com>2021-05-01 11:30:24 -0700
commitec479e0edceb5759d24d4521e56ad8f63cc26354 (patch)
tree163d22c37e5d49ae744c6acc0c5809b30dcd0ba4 /numpy/distutils/system_info.py
parentee56322f91788c97d4a41fdf4ae66aa45310553c (diff)
downloadnumpy-ec479e0edceb5759d24d4521e56ad8f63cc26354.tar.gz
BLD: Minimize diff
Diffstat (limited to 'numpy/distutils/system_info.py')
-rw-r--r--numpy/distutils/system_info.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index 7a031bf9e..234b4afc9 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -1754,13 +1754,6 @@ class lapack_opt_info(system_info):
'accelerate', 'atlas', 'lapack']
order_env_var_name = 'NPY_LAPACK_ORDER'
- def _calc_info_accelerate(self):
- info = get_info('accelerate')
- if info:
- self.set_info(**info)
- return True
- return False
-
def _calc_info_mkl(self):
info = get_info('lapack_mkl')
if info:
@@ -1811,6 +1804,13 @@ class lapack_opt_info(system_info):
return True
return False
+ def _calc_info_accelerate(self):
+ info = get_info('accelerate')
+ if info:
+ self.set_info(**info)
+ return True
+ return False
+
def _get_info_blas(self):
# Default to get the optimized BLAS implementation
info = get_info('blas_opt')
@@ -1931,13 +1931,6 @@ class blas_opt_info(system_info):
'accelerate', 'atlas', 'blas']
order_env_var_name = 'NPY_BLAS_ORDER'
- def _calc_info_accelerate(self):
- info = get_info('accelerate')
- if info:
- self.set_info(**info)
- return True
- return False
-
def _calc_info_mkl(self):
info = get_info('blas_mkl')
if info:
@@ -1972,6 +1965,13 @@ class blas_opt_info(system_info):
return True
return False
+ def _calc_info_accelerate(self):
+ info = get_info('accelerate')
+ if info:
+ self.set_info(**info)
+ return True
+ return False
+
def _calc_info_blas(self):
# Warn about a non-optimized BLAS library
warnings.warn(BlasOptNotFoundError.__doc__ or '', stacklevel=3)