]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Add shims for iOS C++ compilation (GH-123620) (#123656)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Sep 2024 00:52:13 +0000 (02:52 +0200)
committerGitHub <noreply@github.com>
Wed, 4 Sep 2024 00:52:13 +0000 (00:52 +0000)
Add shims for iOS C++ compilation (GH-123620)

Add shims for iOS C++ compilation.
(cherry picked from commit 135dad9bd70bba5a7b432c744f2993476915cf07)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
iOS/Resources/bin/arm64-apple-ios-clang++ [new file with mode: 0755]
iOS/Resources/bin/arm64-apple-ios-simulator-clang++ [new file with mode: 0755]
iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ [new file with mode: 0755]

diff --git a/iOS/Resources/bin/arm64-apple-ios-clang++ b/iOS/Resources/bin/arm64-apple-ios-clang++
new file mode 100755 (executable)
index 0000000..f24bec1
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+xcrun --sdk iphoneos${IOS_SDK_VERSION} clang++ -target arm64-apple-ios $@
diff --git a/iOS/Resources/bin/arm64-apple-ios-simulator-clang++ b/iOS/Resources/bin/arm64-apple-ios-simulator-clang++
new file mode 100755 (executable)
index 0000000..ef37d05
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target arm64-apple-ios-simulator $@
diff --git a/iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ b/iOS/Resources/bin/x86_64-apple-ios-simulator-clang++
new file mode 100755 (executable)
index 0000000..86f03ea
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target x86_64-apple-ios-simulator $@