mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-114099: Add configure and Makefile targets to support iOS compilation. (GH-115390)
This commit is contained in:
parent
e921f09c8a
commit
bee7bb3310
20 changed files with 851 additions and 106 deletions
5
config.sub
vendored
5
config.sub
vendored
|
@ -4,6 +4,7 @@
|
|||
|
||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||
|
||||
# Patched 2024-02-03 to include support for arm64_32 and iOS/tvOS/watchOS simulators
|
||||
timestamp='2024-01-01'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
|
@ -1127,7 +1128,7 @@ case $cpu-$vendor in
|
|||
xscale-* | xscalee[bl]-*)
|
||||
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
|
||||
;;
|
||||
arm64-* | aarch64le-*)
|
||||
arm64-* | aarch64le-* | arm64_32-*)
|
||||
cpu=aarch64
|
||||
;;
|
||||
|
||||
|
@ -1866,6 +1867,8 @@ case $kernel-$os-$obj in
|
|||
;;
|
||||
*-eabi*- | *-gnueabi*-)
|
||||
;;
|
||||
ios*-simulator- | tvos*-simulator- | watchos*-simulator- )
|
||||
;;
|
||||
none--*)
|
||||
# None (no kernel, i.e. freestanding / bare metal),
|
||||
# can be paired with an machine code file format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue