Skip to main content
`Ctrl`+`K`

# numpy.distutils.ccompiler_opt.CCompilerOpt.feature_names

method

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

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

  Parameters:
    names sequence 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_flags list or None, optional

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

    macros list of tuples, optional

      A list of C macro definitions.