config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] config.sub: Include support for arm64_32 and iOS/tvOS/watchO


From: Richard Hansen
Subject: Re: [PATCH] config.sub: Include support for arm64_32 and iOS/tvOS/watchOS simulators
Date: Tue, 7 Jan 2025 03:33:45 -0500
User-agent: Mozilla Thunderbird

On 1/6/25 21:43, Russell Keith-Magee wrote:
FWIW: I’ve tried multiple times to submit this patch upstream:

https://lists.gnu.org/archive/html/config-patches/2024-02/msg00001.html
https://lists.gnu.org/archive/html/config-patches/2023-08/msg00059.html

Ah, I should have searched the archive first, my bad. Maybe the third time's the charm? :)

I'll send a reroll with your previous email as the commit message.

-Richard


I’ve had no response or feedback on why the patch is (or isn’t) acceptable, except that *part* of the 2023-08 version of the patch was included in the 2024-01-01 update.

Yours,
Russell Keith-Magee %-)

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



Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]