class documentation

class blas_info(system_info):

Known subclasses: numpy.distutils.system_info.blis_info, numpy.distutils.system_info.openblas_info

View In Hierarchy

Undocumented

Method calc​_info Undocumented
Method get​_cblas​_libs Check whether we can link with CBLAS interface
Class Variable ​_lib​_names Undocumented
Class Variable dir​_env​_var Undocumented
Class Variable section Undocumented

Inherited from system_info:

Method __init__ Undocumented
Method ​_check​_libs Find mandatory and optional libs in expected paths.
Method ​_find​_lib Undocumented
Method ​_find​_libs Undocumented
Method calc​_extra​_info No summary
Method calc​_libraries​_info Undocumented
Method check​_libs If static or shared libraries are available then return their info dictionary.
Method check​_libs2 If static or shared libraries are available then return their info dictionary.
Method combine​_paths Return a list of existing paths composed by all combinations of items from the arguments.
Method get​_include​_dirs Undocumented
Method get​_info Return a dictionary with items that are compatible with numpy.distutils.setup keyword arguments.
Method get​_lib​_dirs Undocumented
Method get​_libraries Undocumented
Method get​_libs Undocumented
Method get​_option​_single Ensure that only one of options are found in the section
Method get​_paths Undocumented
Method get​_runtime​_lib​_dirs Undocumented
Method get​_src​_dirs Undocumented
Method has​_info Undocumented
Method library​_extensions Undocumented
Method parse​_config​_files Undocumented
Method set​_info Undocumented
Class Variable saved​_results Undocumented
Instance Variable cp Undocumented
Instance Variable files Undocumented
Instance Variable local​_prefixes Undocumented
Instance Variable search​_static​_first Undocumented
def get_cblas_libs(self, info):

Check whether we can link with CBLAS interface

This method will search through several combinations of libraries to check whether CBLAS is present:

  1. Libraries in info['libraries'], as is
  2. As 1. but also explicitly adding 'cblas' as a library
  3. As 1. but also explicitly adding 'blas' as a library
  4. Check only library 'cblas'
  5. Check only library 'blas'

Parameters

info : dict
system information dictionary for compilation and linking

Returns

libraries : list of str or None

a list of libraries that enables the use of CBLAS interface. Returns None if not found or a compilation error occurs.

Since 1.17 returns a list.