numpy.distutils.ccompiler_opt.CCompilerOpt.feature_names#

method

distutils.ccompiler_opt.CCompilerOpt.feature_names(names=None, force_flags=None, macros=[])[source]#

Returns a set of CPU feature names that supported by platform and the C compiler.

Parameters:
namessequence or None, optional

Specify certain CPU features to test it against the C compiler. if None(default), it will test all current supported features. Note: feature names must be in upper-case.

force_flagslist or None, optional

If None(default), default compiler flags for every CPU feature will be used during the test.

macroslist of tuples, optional

A list of C macro definitions.