Skip to content

Commit f35df98

Browse files
committed
Fix setting OSX deployment target for embedded macos builds
1 parent ccd09f8 commit f35df98

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/scripts/.build.zsh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@ ${_usage_host:-}"
248248
249249
# check the MACOS_VERSION env var to determine which version of MacOS to target
250250
if [[ -n ${MACOS_VERSION} ]] {
251-
if [[ ${MACOS_VERSION} == "13" ]] {
251+
if [[ ${MACOS_VERSION} == "embedded" ]] {
252+
cmake_args+=(-DCMAKE_OSX_DEPLOYMENT_TARGET=12.0)
253+
} elif [[ ${MACOS_VERSION} == "13" ]] {
252254
# Setting target version to 13.3 to match Whisper.cpp deps target, as that's when the new Accelerate interface was added
253255
cmake_args+=(-DCMAKE_OSX_DEPLOYMENT_TARGET=${MACOS_VERSION}.3)
254256
} else {

0 commit comments

Comments
 (0)