• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 422cda3fba39e9a99397fbd8e10ee1f7e85ef241 Mon Sep 17 00:00:00 2001
2From: Haibo Huang <hhb@google.com>
3Date: Thu, 4 Feb 2021 16:29:09 -0800
4Subject: [PATCH] Enable arm64 builds
5
6Kokoro build server has 10.15 and XCode 12.2. It is able to build arm64.
7
8Change-Id: I8dcf6a909b9075c4f9d40516a0ab28f421cdcb8d
9---
10 Lib/_osx_support.py | 8 +-------
11 1 file changed, 1 insertion(+), 7 deletions(-)
12
13diff --git a/Lib/_osx_support.py b/Lib/_osx_support.py
14index 37975fe..47d88af 100644
15--- a/Lib/_osx_support.py
16+++ b/Lib/_osx_support.py
17@@ -187,13 +187,7 @@ def _supports_universal_builds():
18
19 def _supports_arm64_builds():
20     """Returns True if arm64 builds are supported on this system"""
21-    # There are two sets of systems supporting macOS/arm64 builds:
22-    # 1. macOS 11 and later, unconditionally
23-    # 2. macOS 10.15 with Xcode 12.2 or later
24-    # For now the second category is ignored.
25-    osx_version = _get_system_version_tuple()
26-    return osx_version >= (11, 0) if osx_version else False
27-
28+    return True
29
30 def _find_appropriate_compiler(_config_vars):
31     """Find appropriate C compiler for extension module builds"""
32--
332.30.0.365.g02bc693789-goog
34
35