Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 529584 Details for
Bug 649218
=dev-python/numpy-1.14.5 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
numpy-1.14.3-no-hardcode-blas.patch
numpy-1.14.3-no-hardcode-blas.patch (text/plain), 3.54 KB, created by
Marek Bartosiewicz
on 2018-05-03 12:41:57 UTC
(
hide
)
Description:
numpy-1.14.3-no-hardcode-blas.patch
Filename:
MIME Type:
Creator:
Marek Bartosiewicz
Created:
2018-05-03 12:41:57 UTC
Size:
3.54 KB
patch
obsolete
>--- numpy-1.14.3/numpy/distutils/system_info.py 2018-04-27 16:14:44.000000000 +0200 >+++ numpy-1.14.3/numpy/distutils/system_info.py 2018-05-03 08:37:22.723110848 +0200 >@@ -364,28 +364,7 @@ > 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 >- '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 >- 'x11': x11_info, >+ cl = {'x11': x11_info, > 'fft_opt': fft_opt_info, > 'fftw': fftw_info, > 'fftw2': fftw2_info, >@@ -730,10 +709,7 @@ > 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() >@@ -1740,7 +1716,7 @@ > lib = self.has_cblas(info) > if lib is not None: > info['language'] = 'c' >- info['libraries'] = [lib] >+ info['libraries'] = lib > info['define_macros'] = [('HAVE_CBLAS', None)] > self.set_info(**info) > >@@ -1772,16 +1748,16 @@ > # check for cblas lib, and if not present check for blas lib. > try: > c.link_executable(obj, os.path.join(tmpdir, "a.out"), >- libraries=["cblas"], >+ libraries=info["libraries"], > library_dirs=info['library_dirs'], > extra_postargs=info.get('extra_link_args', [])) >- res = "cblas" >+ res = info["libraries"] > except distutils.ccompiler.LinkError: > c.link_executable(obj, os.path.join(tmpdir, "a.out"), > libraries=["blas"], > library_dirs=info['library_dirs'], > extra_postargs=info.get('extra_link_args', [])) >- res = "blas" >+ res = ["blas"] > except distutils.ccompiler.CompileError: > res = None > finally:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 649218
:
521576
|
521578
|
528618
| 529584