# numpy.distutils.ccompiler_opt.new_ccompiler_opt

distutils.ccompiler_opt.new_ccompiler_opt(compiler, dispatch_hpath, **kwargs)

  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