coreml : backport CoreML features to macos < 14 (#3255)

This commit is contained in:
glaszig
2025-06-24 09:24:27 +02:00
committed by GitHub
parent 9c47902308
commit 0083335ba0
5 changed files with 49 additions and 0 deletions
+2
View File
@@ -58,6 +58,7 @@ if (WHISPER_COREML)
set(TARGET whisper.coreml)
add_library(${TARGET}
coreml/whisper-compat.m
coreml/whisper-encoder.h
coreml/whisper-encoder.mm
coreml/whisper-encoder-impl.h
@@ -76,6 +77,7 @@ if (WHISPER_COREML)
COMPILE_FLAGS "-fobjc-arc"
XCODE_ATTRIBUTE_CLANG_ENABLE_OBJC_ARC YES
)
set_target_properties(${TARGET} PROPERTIES FOLDER "libs")
endif()