diff options
| -rw-r--r-- | numpy/distutils/system_info.py | 28 |
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) |
