Returns True if arm64 builds are supported on this system
()
| 187 | return bool(osx_version >= (10, 4)) if osx_version else False |
| 188 | |
| 189 | def _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 | |
| 199 | def _find_appropriate_compiler(_config_vars): |
no test coverage detected
searching dependent graphs…