]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-133183: Include IPHONEOS_DEPLOYMENT_TARGET in iOS shim targets. (#133184)
authorRussell Keith-Magee <russell@keith-magee.com>
Thu, 1 May 2025 02:35:33 +0000 (10:35 +0800)
committerGitHub <noreply@github.com>
Thu, 1 May 2025 02:35:33 +0000 (10:35 +0800)
Include IPHONEOS_DEPLOYMENT_TARGET in iOS shim targets.

Misc/NEWS.d/next/Build/2025-04-30-11-07-53.gh-issue-133183.zCKUeQ.rst [new file with mode: 0644]
iOS/Resources/bin/arm64-apple-ios-clang
iOS/Resources/bin/arm64-apple-ios-clang++
iOS/Resources/bin/arm64-apple-ios-cpp
iOS/Resources/bin/arm64-apple-ios-simulator-clang
iOS/Resources/bin/arm64-apple-ios-simulator-clang++
iOS/Resources/bin/arm64-apple-ios-simulator-cpp
iOS/Resources/bin/x86_64-apple-ios-simulator-clang
iOS/Resources/bin/x86_64-apple-ios-simulator-clang++
iOS/Resources/bin/x86_64-apple-ios-simulator-cpp

diff --git a/Misc/NEWS.d/next/Build/2025-04-30-11-07-53.gh-issue-133183.zCKUeQ.rst b/Misc/NEWS.d/next/Build/2025-04-30-11-07-53.gh-issue-133183.zCKUeQ.rst
new file mode 100644 (file)
index 0000000..e359f9e
--- /dev/null
@@ -0,0 +1,2 @@
+iOS compiler shims now include ``IPHONEOS_DEPLOYMENT_TARGET`` in target
+triples, ensuring that SDK version minimums are honored.
index c39519cd1f8c9429540fd955dede20b03bd5deff..f50d5b5142fc76454a094af38d64f6d88302e37c 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphoneos${IOS_SDK_VERSION} clang -target arm64-apple-ios "$@"
+xcrun --sdk iphoneos${IOS_SDK_VERSION} clang -target arm64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET} "$@"
index d9b12925f384b9d3080cf9c485f5e8bf206eaa86..0794731d7dcbda0ca967c685add351cbbe25490c 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphoneos${IOS_SDK_VERSION} clang++ -target arm64-apple-ios "$@"
+xcrun --sdk iphoneos${IOS_SDK_VERSION} clang++ -target arm64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET} "$@"
index 24da23d3448ae0f406843db23a0a1fb159d6b0bd..24fa1506bab8270561ade87c7c47d98e2a8143d3 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphoneos${IOS_SDK_VERSION} clang -target arm64-apple-ios -E "$@"
+xcrun --sdk iphoneos${IOS_SDK_VERSION} clang -target arm64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET} -E "$@"
index 92e8d853d6ebc30586025319d1ee40a4248a71d3..4891a00876e0bdd07890cf23571fd694eeb27d79 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang -target arm64-apple-ios-simulator "$@"
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang -target arm64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET}-simulator "$@"
index 076469cc70cf98533eaad87b78dbeaa4bbfa2c10..58b2a5f6f18c2b7e77a55239b05df6c885265883 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target arm64-apple-ios-simulator "$@"
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target arm64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET}-simulator "$@"
index c57f28cee5bcfecda86dd53e1b9232e13c25e7e2..c9df94e8b7c8371ebf03d356b1d77ff44e46437e 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang -target arm64-apple-ios-simulator -E "$@"
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang -target arm64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET}-simulator -E "$@"
index 17cbe0c8a1e213b7ab13b106f5023769d3c9087f..f4739a7b945d0108475fa10bff749a4933424879 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang -target x86_64-apple-ios-simulator "$@"
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang -target x86_64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET}-simulator "$@"
index 565d47b24c214b228e04725b0b4e8e849d73da58..c348ae4c10395bd9c276c40894b65c0621b93c23 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target x86_64-apple-ios-simulator "$@"
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target x86_64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET}-simulator "$@"
index 63fc8e8de2d38daa24f534ba3ab206467ac1a3e7..6d7f8084c9fdccfd9ea2baeb9d692fac5b74e598 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang -target x86_64-apple-ios-simulator -E "$@"
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang -target x86_64-apple-ios${IPHONEOS_DEPLOYMENT_TARGET}-simulator -E "$@"