Returns True if universal builds are supported on this system
()
| 176 | return _cache_default_sysroot |
| 177 | |
| 178 | def _supports_universal_builds(): |
| 179 | """Returns True if universal builds are supported on this system""" |
| 180 | # As an approximation, we assume that if we are running on 10.4 or above, |
| 181 | # then we are running with an Xcode environment that supports universal |
| 182 | # builds, in particular -isysroot and -arch arguments to the compiler. This |
| 183 | # is in support of allowing 10.4 universal builds to run on 10.3.x systems. |
| 184 | |
| 185 | osx_version = _get_system_version_tuple() |
| 186 | return bool(osx_version >= (10, 4)) if osx_version else False |
| 187 | |
| 188 | def _supports_arm64_builds(): |
| 189 | """Returns True if arm64 builds are supported on this system""" |
no test coverage detected