Commit 103d3366 authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey Committed by Matthew Waters
Browse files

macos: add new configuration files for macos

When building from Intel we want to cross-compile for ARM64
When building from Apple silicon we want to cross-compile for X86_64
For releases we want universal builds

Part-of: <!661>
parent 265796db
from cerbero.config import Platform, Architecture, Distro, DistroVersion
target_platform = Platform.DARWIN
target_arch = Architecture.ARM64
\ No newline at end of file
from cerbero.config import Platform, Architecture, Distro, DistroVersion
target_platform = Platform.DARWIN
target_arch = Architecture.UNIVERSAL
universal_archs = {
# Path is relative to this file
Architecture.ARM64: "cross-macos-arm64.cbc",
Architecture.X86_64: "cross-macos-x86_64.cbc",
}
\ No newline at end of file
from cerbero.config import Platform, Architecture, Distro, DistroVersion
target_platform = Platform.DARWIN
target_arch = Architecture.X86_64
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment