Lower iOS version requirement for 64-bit ARM to iOS 10

This commit is contained in:
刘皓 2025-07-29 11:12:30 -04:00
parent 6cf62940f1
commit daf4e26e43
No known key found for this signature in database
GPG key ID: 7901753DB465B711
2 changed files with 4 additions and 4 deletions

View file

@ -1086,7 +1086,7 @@ jobs:
sdk: iphoneos
suffix: _ios
arch_mkxpz: arm64
arch_llvm: arm64-apple-ios11.0 # iOS 11 is the first version of iOS with support for 64-bit ARM
arch_llvm: arm64-apple-ios10.0 # iOS 10 is the first version of iOS with support for 64-bit ARM
cpu_family: aarch64
cpu: generic-armv8-a
endian: little

View file

@ -99,9 +99,9 @@ else ifeq ($(platform),ios-arm64)
MKXPZ_CPU_FAMILY = aarch64
MKXPZ_CPU = generic-armv8-a
MKXPZ_ENDIAN = little
# iOS 11 is the first version of iOS with support for 64-bit ARM
MKXPZ_CC = ['xcrun', '--sdk', 'iphoneos', '$(CC)', '-target=arm64-apple-ios11.0']
MKXPZ_CXX = ['xcrun', '--sdk', 'iphoneos', '$(CXX)', '-target=arm64-apple-ios11.0']
# iOS 10 is the first version of iOS with support for 64-bit ARM
MKXPZ_CC = ['xcrun', '--sdk', 'iphoneos', '$(CC)', '-target=arm64-apple-ios10.0']
MKXPZ_CXX = ['xcrun', '--sdk', 'iphoneos', '$(CXX)', '-target=arm64-apple-ios10.0']
else ifeq ($(platform),ios9)
MKXPZ_SYSTEM = darwin
MKXPZ_SUFFIX = ios