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

Function available_fcompilers_for_platform

numpy/distutils/fcompiler/__init__.py:840–853  ·  view source on GitHub ↗
(osname=None, platform=None)

Source from the content-addressed store, hash-verified

838 return None
839
840def available_fcompilers_for_platform(osname=None, platform=None):
841 if osname is None:
842 osname = os.name
843 if platform is None:
844 platform = sys.platform
845 matching_compiler_types = []
846 for pattern, compiler_type in _default_compilers:
847 if re.match(pattern, platform) or re.match(pattern, osname):
848 for ct in compiler_type:
849 if ct not in matching_compiler_types:
850 matching_compiler_types.append(ct)
851 if not matching_compiler_types:
852 matching_compiler_types.append('gnu')
853 return matching_compiler_types
854
855def get_default_fcompiler(osname=None, platform=None, requiref90=False,
856 c_compiler=None):

Callers 2

get_default_fcompilerFunction · 0.85
show_fcompilersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected