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

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.21/reference/generated/numpy.distutils.ccompiler_opt.new_ccompiler_opt.html