From de25a1e63b18204651a04b6e485a6b50ffb7ce14 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 29 Mar 2023 14:57:04 +0200 Subject: [PATCH] Add `macOS_arm64_mixed` platform. --- kiwixbuild/platforms/ios.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/kiwixbuild/platforms/ios.py b/kiwixbuild/platforms/ios.py index 2ec65af..dfb5030 100644 --- a/kiwixbuild/platforms/ios.py +++ b/kiwixbuild/platforms/ios.py @@ -2,7 +2,7 @@ import subprocess from kiwixbuild._global import option from kiwixbuild.utils import pj, xrun_find -from .base import PlatformInfo, MetaPlatformInfo +from .base import PlatformInfo, MetaPlatformInfo, MixedMixin class ApplePlatformInfo(PlatformInfo): @@ -152,6 +152,15 @@ class macOSArm64(ApplePlatformInfo): min_iphoneos_version = None +class macOSArm64Mixed(MixedMixin('macOS_arm64'), ApplePlatformInfo): + name = 'macOS_arm64_mixed' + arch = cpu = 'arm64' + host = 'aarch64-apple-darwin' + target = 'arm64-apple-macos11' + sdk_name = 'macosx' + min_iphoneos_version = None + + class macOSx64(ApplePlatformInfo): name = 'macOS_x86_64' arch = cpu = 'x86_64'