Skip to content

Commit f6c5f02

Browse files
committed
Updated some CPU targets for tvOS and watchOS; deprecated 32 bit watchOS builds.
1 parent 4c1b9ab commit f6c5f02

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ OS_LIST=macOS iOS tvOS watchOS
6262
TARGETS-macOS=macosx.x86_64 macosx.arm64
6363
PYTHON_TARGETS-macOS=macOS
6464
CFLAGS-macOS=-mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET)
65+
CFLAGS-macosx.x86_64=
66+
CFLAGS-macosx.arm64=
6567

6668
# iOS targets
6769
TARGETS-iOS=iphonesimulator.x86_64 iphonesimulator.arm64 iphoneos.arm64
@@ -71,17 +73,19 @@ CFLAGS-iphonesimulator.x86_64=
7173
CFLAGS-iphonesimulator.arm64=
7274

7375
# tvOS targets
74-
TARGETS-tvOS=appletvsimulator.x86_64 appletvos.arm64
76+
TARGETS-tvOS=appletvsimulator.x86_64 appletvsimulator.arm64 appletvos.arm64
7577
CFLAGS-tvOS=-mtvos-version-min=9.0 -fembed-bitcode
7678
CFLAGS-appletvos.arm64=
7779
CFLAGS-appletvsimulator.x86_64=
80+
CFLAGS-appletvsimulator.arm64=
7881
PYTHON_CONFIGURE-tvOS=ac_cv_func_sigaltstack=no
7982

8083
# watchOS targets
81-
TARGETS-watchOS=watchsimulator.i386 watchos.armv7k
84+
TARGETS-watchOS=wwatchsimulator.x86_64 watchsimulator.arm64 watchos.arm64_32
8285
CFLAGS-watchOS=-mwatchos-version-min=4.0 -fembed-bitcode
83-
CFLAGS-watchsimulator.i386=
84-
CFLAGS-watchos.armv7k=
86+
CFLAGS_watchsimulator.x86_64=
87+
CFLAGS-watchsimulator.arm64=
88+
CFLAGS-watchos.arm64_32=
8589
PYTHON_CONFIGURE-watchOS=ac_cv_func_sigaltstack=no
8690

8791
# override machine types for arm64

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python Apple Support
22
====================
33

4-
**This repository branch builds a packaged version of Python 3.10.0**.
4+
**This repository branch builds a packaged version of Python 3.10.4**.
55
Other Python versions are available by cloning other branches of the main
66
repository.
77

@@ -13,20 +13,20 @@ selected pre-requisites, and packaging them as static libraries that can be
1313
incorporated into an XCode project.
1414

1515
The binaries support x86_64 and arm64 for macOS; arm64 for iOS and appleTV
16-
devices; and armv7k for watchOS. This should enable the code to run on:
16+
devices; and arm64_32 for watchOS. This should enable the code to run on:
1717

1818
* MacBook (including MacBooks using Apple Silicon)
1919
* iMac (including iMacs using Apple Silicon)
2020
* Mac Mini (including M1 Apple Silicon Mac minis)
2121
* Mac Pro
22-
* iPhone (5s or later)
22+
* iPhone (6s or later)
2323
* iPad (5th gen or later)
2424
* iPad Air (all models)
2525
* iPad Mini (2 or later)
2626
* iPad Pro (all models)
27-
* iPod Touch (6th gen or later)
27+
* iPod Touch (7th gen or later)
2828
* Apple TV (4th gen or later)
29-
* Apple Watch
29+
* Apple Watch (4th gen or later)
3030

3131
Quickstart
3232
----------

0 commit comments

Comments
 (0)