class documentation

Undocumented

Method calc_info Undocumented
Method get_cblas_libs Check whether we can link with CBLAS interface
Class Variable dir_env_var Undocumented
Class Variable section Undocumented
Class Variable _lib_names Undocumented

Inherited from system_info:

Method __init__ Undocumented
Method calc_extra_info Updates the information in the current information with respect to these flags:
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
Method _check_libs Find mandatory and optional libs in expected paths.
Method _find_lib Undocumented
Method _find_libs Undocumented
def get_cblas_libs(self, info): (source)

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:dictsystem information dictionary for compilation and linking
Returns
list of str or None

libraries - 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.