numpy.distutils.ccompiler_opt.new_ccompiler_opt

distutils.ccompiler_opt.new_ccompiler_opt(compiler, dispatch_hpath, **kwargs)[source]

Create a new instance of ‘CCompilerOpt’ and generate the dispatch header which contains the #definitions and headers of platform-specific instruction-sets for the enabled CPU baseline and dispatch-able features.

Parameters
compilerCCompiler instance
dispatch_hpathstr

path of the dispatch header

**kwargs: passed as-is to `CCompilerOpt(…)`
Returns
——-
new instance of CCompilerOpt