From fc5c80b8ef112d2dd6bba7f2e5ea7c696d310abc Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 4 Sep 2024 08:28:39 +0800 Subject: [PATCH] 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 --- iOS/Resources/bin/arm64-apple-ios-clang++ | 2 ++ iOS/Resources/bin/arm64-apple-ios-simulator-clang++ | 2 ++ iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ | 2 ++ 3 files changed, 6 insertions(+) create mode 100755 iOS/Resources/bin/arm64-apple-ios-clang++ create mode 100755 iOS/Resources/bin/arm64-apple-ios-simulator-clang++ create mode 100755 iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ diff --git a/iOS/Resources/bin/arm64-apple-ios-clang++ b/iOS/Resources/bin/arm64-apple-ios-clang++ new file mode 100755 index 00000000000000..f24bec11268f7e --- /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 00000000000000..ef37d05b512959 --- /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 00000000000000..86f03ea32bc2fd --- /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 $@