numpy / 1.22.0 / reference / generated / numpy.distutils.ccompiler_opt.new_ccompiler_opt.html /

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
compiler CCompiler instance
dispatch_hpath str

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.22/reference/generated/numpy.distutils.ccompiler_opt.new_ccompiler_opt.html