MCPcopy Index your code
hub / github.com/python/cpython / _supports_arm64_builds

Function _supports_arm64_builds

Lib/_osx_support.py:189–196  ·  view source on GitHub ↗

Returns True if arm64 builds are supported on this system

()

Source from the content-addressed store, hash-verified

187 return bool(osx_version >= (10, 4)) if osx_version else False
188
189def _supports_arm64_builds():
190 """Returns True if arm64 builds are supported on this system"""
191 # There are two sets of systems supporting macOS/arm64 builds:
192 # 1. macOS 11 and later, unconditionally
193 # 2. macOS 10.15 with Xcode 12.2 or later
194 # For now the second category is ignored.
195 osx_version = _get_system_version_tuple()
196 return osx_version >= (11, 0) if osx_version else False
197
198
199def _find_appropriate_compiler(_config_vars):

Callers 1

compiler_fixupFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…