]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add shims for iOS C++ compilation (#123620)
authorRussell Keith-Magee <russell@keith-magee.com>
Wed, 4 Sep 2024 00:28:39 +0000 (08:28 +0800)
committerGitHub <noreply@github.com>
Wed, 4 Sep 2024 00:28:39 +0000 (08:28 +0800)
Add shims for iOS C++ compilation.

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 $@