Add ios-arm64 and tvos-arm64 support

This commit is contained in:
Eric Warmenhoven 2024-01-05 01:03:05 -05:00
parent e0d6d47230
commit 44efc625ed
2 changed files with 22 additions and 0 deletions

View File

@ -46,6 +46,10 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/ios9.yml'
# iOS arm64
- project: 'libretro-infrastructure/ci-templates'
file: '/ios-arm64.yml'
################################## CONSOLES ################################
# PlayStation Vita
- project: 'libretro-infrastructure/ci-templates'
@ -71,6 +75,10 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-arm32.yml'
# tvOS
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
# Stages for building
stages:
- build-prepare
@ -149,6 +157,12 @@ libretro-build-ios9:
- .libretro-ios9-make-default
- .core-defs
# iOS arm64
libretro-build-ios-arm64:
extends:
- .libretro-ios-arm64-make-default
- .core-defs
################################### CONSOLES #################################
# PlayStation Vita
libretro-build-vita:
@ -185,3 +199,9 @@ libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-arm32-make-default
- .core-defs
# iOS 9
libretro-build-tvos-arm64:
extends:
- .libretro-tvos-arm64-make-default
- .core-defs

View File

@ -147,6 +147,8 @@ else ifeq ($(platform), tvos-arm64)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif
FLAGS += -DIOS -DHAVE_POSIX_MEMALIGN
CC = cc -arch arm64 -isysroot $(IOSSDK)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
# QNX
else ifeq ($(platform), qnx)