On 7 Jan 2025, at 9:19 am, Richard Hansen <rhansen@rhansen.org> wrote:
From: Russell Keith-Magee <russell@keith-magee.com>
[This commit was derived from the CPython commit, "gh-114099:
Add configure and Makefile targets to support iOS compilation.
(GH-115390)" to upstream its changes to config.sub. See:
<https://github.com/python/cpython/commit/
bee7bb3310b356e99e3a0f75f23efbc97f1b0a24>
<https://github.com/python/cpython/pull/115390>
<https://github.com/python/cpython/issues/114099>
<https://github.com/python/cpython-devcontainers/pull/36>]
Prepared-by: Richard Hansen <rhansen@rhansen.org>
---
config.sub | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/config.sub b/config.sub
index 4aaae46..335706d 100755
--- a/config.sub
+++ b/config.sub
@@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
-timestamp='2024-05-27'
+timestamp='2025-01-06'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1194,7 +1194,7 @@ case $cpu-$vendor in
xscale-* | xscalee[bl]-*)
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
;;
-arm64-* | aarch64le-*)
+arm64-* | aarch64le-* | arm64_32-*)
cpu=aarch64
;;
@@ -2249,6 +2249,8 @@ case $kernel-$os-$obj in
;;
*-eabi*- | *-gnueabi*-)
;;
+ios*-simulator- | tvos*-simulator- | watchos*-simulator- )
+;;
none--*)
# None (no kernel, i.e. freestanding / bare metal),
# can be paired with an machine code file format
--
2.47.1