diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-07 22:57:44 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-02-08 00:04:47 +0100 |
commit | 0ca12ba030358b6e399d2537eb1b5ebf1cbfc41f (patch) | |
tree | 60bc441cf2001801f8e318d8cd5bb08f61637864 /dev-python/numpy/files | |
parent | virtual/dist-kernel: Bump to 5.4.96 (diff) | |
download | gentoo-0ca12ba030358b6e399d2537eb1b5ebf1cbfc41f.tar.gz gentoo-0ca12ba030358b6e399d2537eb1b5ebf1cbfc41f.tar.bz2 gentoo-0ca12ba030358b6e399d2537eb1b5ebf1cbfc41f.zip |
dev-python/numpy: Bump to 1.20.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/numpy/files')
-rw-r--r-- | dev-python/numpy/files/numpy-1.20.1-no-hardcode-blasv2.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/numpy/files/numpy-1.20.1-no-hardcode-blasv2.patch b/dev-python/numpy/files/numpy-1.20.1-no-hardcode-blasv2.patch new file mode 100644 index 000000000000..e24e0edb926d --- /dev/null +++ b/dev-python/numpy/files/numpy-1.20.1-no-hardcode-blasv2.patch @@ -0,0 +1,50 @@ +diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py +index 13f9da0..b696ef5 100644 +--- a/numpy/distutils/system_info.py ++++ b/numpy/distutils/system_info.py +@@ -505,32 +505,7 @@ def get_info(name, notfound_action=0): + 1 - display warning message + 2 - raise error + """ +- cl = {'atlas': atlas_info, # use lapack_opt or blas_opt instead +- 'atlas_threads': atlas_threads_info, # ditto +- 'atlas_blas': atlas_blas_info, +- 'atlas_blas_threads': atlas_blas_threads_info, +- 'lapack_atlas': lapack_atlas_info, # use lapack_opt instead +- 'lapack_atlas_threads': lapack_atlas_threads_info, # ditto +- 'atlas_3_10': atlas_3_10_info, # use lapack_opt or blas_opt instead +- 'atlas_3_10_threads': atlas_3_10_threads_info, # ditto +- 'atlas_3_10_blas': atlas_3_10_blas_info, +- 'atlas_3_10_blas_threads': atlas_3_10_blas_threads_info, +- 'lapack_atlas_3_10': lapack_atlas_3_10_info, # use lapack_opt instead +- 'lapack_atlas_3_10_threads': lapack_atlas_3_10_threads_info, # ditto +- 'flame': flame_info, # use lapack_opt instead +- 'mkl': mkl_info, +- # openblas which may or may not have embedded lapack +- 'openblas': openblas_info, # use blas_opt instead +- # openblas with embedded lapack +- 'openblas_lapack': openblas_lapack_info, # use blas_opt instead +- 'openblas_clapack': openblas_clapack_info, # use blas_opt instead +- 'blis': blis_info, # use blas_opt instead +- 'lapack_mkl': lapack_mkl_info, # use lapack_opt instead +- 'blas_mkl': blas_mkl_info, # use blas_opt instead +- 'openblas64_': openblas64__info, +- 'openblas64__lapack': openblas64__lapack_info, +- 'openblas_ilp64': openblas_ilp64_info, +- 'openblas_ilp64_lapack': openblas_ilp64_lapack_info, ++ cl = {'flame': flame_info, # use lapack_opt instead + 'x11': x11_info, + 'fft_opt': fft_opt_info, + 'fftw': fftw_info, +@@ -950,10 +925,7 @@ class system_info: + return [b for b in [a.strip() for a in libs.split(',')] if b] + + def get_libraries(self, key='libraries'): +- if hasattr(self, '_lib_names'): +- return self.get_libs(key, default=self._lib_names) +- else: +- return self.get_libs(key, '') ++ return self.get_libs(key, '') + + def library_extensions(self): + c = customized_ccompiler() |