summaryrefslogtreecommitdiffstats
path: root/iOS
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2024-09-04 00:28:39 (GMT)
committerGitHub <noreply@github.com>2024-09-04 00:28:39 (GMT)
commit135dad9bd70bba5a7b432c744f2993476915cf07 (patch)
treeae7f1f850f50ff8515440c233a4dea39ce652ee4 /iOS
parenta8bc03696c7c2c03e1d580633151ec7b850366f3 (diff)
downloadcpython-135dad9bd70bba5a7b432c744f2993476915cf07.zip
cpython-135dad9bd70bba5a7b432c744f2993476915cf07.tar.gz
cpython-135dad9bd70bba5a7b432c744f2993476915cf07.tar.bz2
Add shims for iOS C++ compilation (#123620)
Add shims for iOS C++ compilation.
Diffstat (limited to 'iOS')
-rwxr-xr-xiOS/Resources/bin/arm64-apple-ios-clang++2
-rwxr-xr-xiOS/Resources/bin/arm64-apple-ios-simulator-clang++2
-rwxr-xr-xiOS/Resources/bin/x86_64-apple-ios-simulator-clang++2
3 files changed, 6 insertions, 0 deletions
diff --git a/iOS/Resources/bin/arm64-apple-ios-clang++ b/iOS/Resources/bin/arm64-apple-ios-clang++
new file mode 100755
index 0000000..f24bec1
--- /dev/null
+++ b/iOS/Resources/bin/arm64-apple-ios-clang++
@@ -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
index 0000000..ef37d05
--- /dev/null
+++ b/iOS/Resources/bin/arm64-apple-ios-simulator-clang++
@@ -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
index 0000000..86f03ea
--- /dev/null
+++ b/iOS/Resources/bin/x86_64-apple-ios-simulator-clang++
@@ -0,0 +1,2 @@
+#!/bin/sh
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target x86_64-apple-ios-simulator $@