Returns True if universal builds are supported on this system
()
| 177 | return _cache_default_sysroot |
| 178 | |
| 179 | def _supports_universal_builds(): |
| 180 | """Returns True if universal builds are supported on this system""" |
| 181 | # As an approximation, we assume that if we are running on 10.4 or above, |
| 182 | # then we are running with an Xcode environment that supports universal |
| 183 | # builds, in particular -isysroot and -arch arguments to the compiler. This |
| 184 | # is in support of allowing 10.4 universal builds to run on 10.3.x systems. |
| 185 | |
| 186 | osx_version = _get_system_version_tuple() |
| 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""" |
no test coverage detected
searching dependent graphs…