Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork16
autoconf: Sync config.guess, config.sub with CPython repo, update to latest#36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
3 commits Select commitHold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
From 7a7c6fc48512405ede8b2db440b702e866364b00 Mon Sep 17 00:00:00 2001 | ||
From: Russell Keith-Magee <russell@keith-magee.com> | ||
Date: Mon, 26 Feb 2024 09:21:10 +0800 | ||
Subject: [PATCH] config.sub: Include support for arm64_32 and iOS/tvOS/watchOS | ||
simulators | ||
* Normalise the watchOS CPU architecture descriptor used by | ||
Apple (`arm64_32`). | ||
* Accept the `-simulator` suffix for descriptors for iOS, tvOS and | ||
watchOS. | ||
The following is the list of compiler triples generated by Apple's | ||
clang toolchains for iOS 12.0, tvOS 9.0, and watchOS 4.0: | ||
* `arm64-apple-ios12.0` | ||
* `x86_64-apple-ios12.0-simulator` | ||
* `arm64-apple-ios12.0-simulator` | ||
* `arm64-apple-tvos9.0` | ||
* `x86_64-apple-tvos9.0-simulator` | ||
* `arm64-apple-tvos9.0-simulator` | ||
* `arm64_32-apple-watchos4.0` | ||
* `arm64-apple-watchos4.0-simulator` | ||
The `-simulator` suffix is significant because iOS devices and iOS | ||
simulators have a different ABI. It is therefore essential that these | ||
can be differentiated in a compiler triple. | ||
--- | ||
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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.