LLM inference in C/C++
C++ ggml
ci : update ios-xcode release job to macos-26 (#23906)
Georgi Gerganov4c4e91b799c2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 9ca34ad864..a1642fc222 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -38,7 +38,7 @@ concurrency:queue: maxjobs:- check_release:+ check-release:runs-on: ubuntu-slimoutputs:@@ -60,8 +60,8 @@ jobs:fimacos-cpu:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}strategy:matrix:include:@@ -141,8 +141,8 @@ jobs:name: llama-bin-macos-${{ matrix.build }}.tar.gzubuntu-cpu:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}strategy:matrix:include:@@ -227,8 +227,8 @@ jobs:name: llama-bin-ubuntu-${{ matrix.build }}.tar.gzubuntu-vulkan:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}strategy:matrix:@@ -312,8 +312,8 @@ jobs:name: llama-bin-ubuntu-vulkan-${{ matrix.build }}.tar.gzandroid-arm64:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}runs-on: ubuntu-latest@@ -404,8 +404,8 @@ jobs:name: llama-bin-android-arm64.tar.gzubuntu-24-openvino:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}runs-on: ubuntu-24.04@@ -501,8 +501,8 @@ jobs:name: llama-bin-ubuntu-openvino-${{ env.OPENVINO_VERSION_MAJOR }}-x64.tar.gzwindows-cpu:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}runs-on: windows-2025@@ -569,8 +569,8 @@ jobs:name: llama-bin-win-cpu-${{ matrix.arch }}.zipwindows:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}runs-on: windows-2025@@ -667,8 +667,8 @@ jobs:name: llama-bin-win-${{ matrix.backend }}-${{ matrix.arch }}.zipwindows-cuda:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}runs-on: windows-2022@@ -959,8 +959,8 @@ jobs:# name: llama-bin-ubuntu-sycl-${{ matrix.build }}-x64.tar.gzubuntu-22-rocm:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}runs-on: ubuntu-22.04@@ -1079,8 +1079,8 @@ jobs:name: llama-bin-ubuntu-rocm-${{ env.ROCM_VERSION_SHORT }}-${{ matrix.build }}.tar.gzwindows-hip:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}runs-on: windows-2022@@ -1202,11 +1202,9 @@ jobs:name: llama-bin-win-hip-${{ matrix.name }}-x64.zipios-xcode:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}- # TODO: figure out how to make this work with macos-26- # https://github.com/ggml-org/llama.cpp/actions/runs/26652714555/job/78604869474- runs-on: macos-15+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}+ runs-on: macos-26steps:- name: Checkout code@@ -1216,7 +1214,7 @@ jobs:- name: Setup Xcoderun: |- sudo xcode-select -s /Applications/Xcode_16.4.app+ sudo xcode-select -s /Applications/Xcode_26.4.app- name: Buildid: cmake_build@@ -1232,7 +1230,7 @@ jobs:-DLLAMA_BUILD_TESTS=OFF \-DLLAMA_BUILD_SERVER=OFF \-DCMAKE_SYSTEM_NAME=iOS \- -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \+ -DCMAKE_OSX_DEPLOYMENT_TARGET=16.0 \-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggmlcmake --build build --config Release -j $(sysctl -n hw.logicalcpu) -- CODE_SIGNING_ALLOWED=NO@@ -1354,8 +1352,8 @@ jobs:# name: llama-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}${{ matrix.use_acl_graph == 'on' && '-aclgraph' || '' }}.tar.gzui:- needs: [check_release]- if: ${{ needs.check_release.outputs.should_release == 'true' }}+ needs: [check-release]+ if: ${{ needs.check-release.outputs.should_release == 'true' }}uses: ./.github/workflows/ui-build.ymlrelease:diff --git a/build-xcframework.sh b/build-xcframework.shindex 1da7b9bda9..5d289922a8 100755--- a/build-xcframework.sh+++ b/build-xcframework.sh@@ -8,6 +8,7 @@ TVOS_MIN_OS_VERSION=16.4BUILD_SHARED_LIBS=OFFLLAMA_BUILD_APP=OFF+LLAMA_BUILD_COMMON=OFFLLAMA_BUILD_EXAMPLES=OFFLLAMA_BUILD_TOOLS=OFFLLAMA_BUILD_TESTS=OFF@@ -33,6 +34,7 @@ COMMON_CMAKE_ARGS=(-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggml-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}-DLLAMA_BUILD_APP=${LLAMA_BUILD_APP}+ -DLLAMA_BUILD_COMMON=${LLAMA_BUILD_COMMON}-DLLAMA_BUILD_EXAMPLES=${LLAMA_BUILD_EXAMPLES}-DLLAMA_BUILD_TOOLS=${LLAMA_BUILD_TOOLS}-DLLAMA_BUILD_TESTS=${LLAMA_BUILD_TESTS}