MCPcopy Index your code
hub / github.com/RustPython/RustPython / customize_compiler

Function customize_compiler

Lib/_osx_support.py:479–496  ·  view source on GitHub ↗

Customize compiler path and configuration variables. This customization is performed when the first extension module build is requested in distutils.sysconfig.customize_compiler.

(_config_vars)

Source from the content-addressed store, hash-verified

477
478
479def customize_compiler(_config_vars):
480 """Customize compiler path and configuration variables.
481
482 This customization is performed when the first
483 extension module build is requested
484 in distutils.sysconfig.customize_compiler.
485 """
486
487 # Find a compiler to use for extension module builds
488 _find_appropriate_compiler(_config_vars)
489
490 # Remove ppc arch flags if not supported here
491 _remove_unsupported_archs(_config_vars)
492
493 # Allow user to override all archs with ARCHFLAGS env var
494 _override_all_archs(_config_vars)
495
496 return _config_vars
497
498
499def get_platform_osx(_config_vars, osname, release, machine):

Callers

nothing calls this directly

Calls 3

_override_all_archsFunction · 0.85

Tested by

no test coverage detected