MCPcopy Create free account
hub / github.com/numpy/numpy / calc_info

Method calc_info

numpy/distutils/system_info.py:2496–2510  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2494 notfounderror = BlasNotFoundError
2495
2496 def calc_info(self):
2497 lib_dirs = self.get_lib_dirs()
2498 opt = self.get_option_single('blis_libs', 'libraries')
2499 blis_libs = self.get_libs(opt, self._lib_names)
2500 info = self.check_libs2(lib_dirs, blis_libs, [])
2501 if info is None:
2502 return
2503
2504 # Add include dirs
2505 incl_dirs = self.get_include_dirs()
2506 dict_append(info,
2507 language='c',
2508 define_macros=[('HAVE_CBLAS', None)],
2509 include_dirs=incl_dirs)
2510 self.set_info(**info)
2511
2512
2513class flame_info(system_info):

Callers

nothing calls this directly

Calls 7

get_lib_dirsMethod · 0.80
get_option_singleMethod · 0.80
get_libsMethod · 0.80
check_libs2Method · 0.80
get_include_dirsMethod · 0.80
set_infoMethod · 0.80
dict_appendFunction · 0.70

Tested by

no test coverage detected