Add `macOS_arm64_mixed` platform.
This commit is contained in:
parent
52335fbd32
commit
de25a1e63b
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue