From f12e9059de3307235546e02d88d3ff603133ae37 Mon Sep 17 00:00:00 2001 From: Chamal Gomes <106123134+chamalgomes@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:26:44 +1000 Subject: [PATCH 1/8] Update llama-build-cpu.yaml --- .github/workflows/llama-build-cpu.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/llama-build-cpu.yaml b/.github/workflows/llama-build-cpu.yaml index f733b10..c79f9f8 100644 --- a/.github/workflows/llama-build-cpu.yaml +++ b/.github/workflows/llama-build-cpu.yaml @@ -29,6 +29,17 @@ jobs: python-version: ${{ matrix.python-version }} - name: Build source distribution + env: + VERBOSE: 1 + CMAKE_ARGS: >- + -DLLAVA_BUILD=off + -DGGML_BLAS=OFF + -DGGML_OPENMP=OFF + -DGGML_AVX=OFF + -DGGML_AVX2=OFF + -DGGML_AVX512=OFF + -DGGML_FMA=OFF + -DGGML_F16C=OFF working-directory: ./vendor/llama-cpp-python run: | # Rename the release version with +cpu build tag From fb7f2f0cb9064ae0e4d3e07365b21c70f118f4e5 Mon Sep 17 00:00:00 2001 From: Chamal Gomes <106123134+chamalgomes@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:31:57 +1000 Subject: [PATCH 2/8] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/workflows/llama-build-cpu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/llama-build-cpu.yaml b/.github/workflows/llama-build-cpu.yaml index c79f9f8..ad5525f 100644 --- a/.github/workflows/llama-build-cpu.yaml +++ b/.github/workflows/llama-build-cpu.yaml @@ -28,7 +28,7 @@ jobs: activate-environment: true python-version: ${{ matrix.python-version }} - - name: Build source distribution + - name: Build wheel env: VERBOSE: 1 CMAKE_ARGS: >- From 540644801ef6802d98d7150a52ca4e95ab699c31 Mon Sep 17 00:00:00 2001 From: Chamal Gomes <106123134+chamalgomes@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:34:35 +1000 Subject: [PATCH 3/8] Update llama-build-cpu.yaml with new build options Added additional build options to disable server and test builds. --- .github/workflows/llama-build-cpu.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/llama-build-cpu.yaml b/.github/workflows/llama-build-cpu.yaml index ad5525f..57d69c9 100644 --- a/.github/workflows/llama-build-cpu.yaml +++ b/.github/workflows/llama-build-cpu.yaml @@ -28,7 +28,7 @@ jobs: activate-environment: true python-version: ${{ matrix.python-version }} - - name: Build wheel + - name: Build wheel env: VERBOSE: 1 CMAKE_ARGS: >- @@ -40,6 +40,10 @@ jobs: -DGGML_AVX512=OFF -DGGML_FMA=OFF -DGGML_F16C=OFF + -DLLAMA_SERVER_BUILD=OFF + -DLLAMA_BUILD_SERVER=OFF + -DLLAMA_BUILD_TESTS=OFF + -DLLAMA_BUILD_EXAMPLES=OFF working-directory: ./vendor/llama-cpp-python run: | # Rename the release version with +cpu build tag From 651cc73b6f76247e4f727d0d09470b876abf38ed Mon Sep 17 00:00:00 2001 From: Chamal Gomes <106123134+chamalgomes@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:39:35 +1000 Subject: [PATCH 4/8] Refactor GitHub Actions workflow for CPU build --- .github/workflows/llama-build-cpu.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/llama-build-cpu.yaml b/.github/workflows/llama-build-cpu.yaml index 57d69c9..36ffce6 100644 --- a/.github/workflows/llama-build-cpu.yaml +++ b/.github/workflows/llama-build-cpu.yaml @@ -40,7 +40,6 @@ jobs: -DGGML_AVX512=OFF -DGGML_FMA=OFF -DGGML_F16C=OFF - -DLLAMA_SERVER_BUILD=OFF -DLLAMA_BUILD_SERVER=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_EXAMPLES=OFF From 46b505b63f67125da47857509ec6f3a2f9742bf2 Mon Sep 17 00:00:00 2001 From: Chamal Gomes <106123134+chamalgomes@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:51:49 +1000 Subject: [PATCH 5/8] Update llama-build-cpu.yaml --- .github/workflows/llama-build-cpu.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/llama-build-cpu.yaml b/.github/workflows/llama-build-cpu.yaml index 36ffce6..453b4c6 100644 --- a/.github/workflows/llama-build-cpu.yaml +++ b/.github/workflows/llama-build-cpu.yaml @@ -33,8 +33,6 @@ jobs: VERBOSE: 1 CMAKE_ARGS: >- -DLLAVA_BUILD=off - -DGGML_BLAS=OFF - -DGGML_OPENMP=OFF -DGGML_AVX=OFF -DGGML_AVX2=OFF -DGGML_AVX512=OFF @@ -43,6 +41,9 @@ jobs: -DLLAMA_BUILD_SERVER=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_EXAMPLES=OFF + -DCMAKE_INSTALL_LIBDIR=llama_cpp/lib + -DCMAKE_INSTALL_BINDIR=llama_cpp/lib + -DCMAKE_INSTALL_INCLUDEDIR=llama_cpp/include working-directory: ./vendor/llama-cpp-python run: | # Rename the release version with +cpu build tag From 2e3e0782e3b3da8f26131a38aed30fdaf9d00087 Mon Sep 17 00:00:00 2001 From: Chamal Gomes <106123134+chamalgomes@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:52:11 +1000 Subject: [PATCH 6/8] Update llama-build-cpu.yaml --- .github/workflows/llama-build-cpu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/llama-build-cpu.yaml b/.github/workflows/llama-build-cpu.yaml index 453b4c6..02a9dc3 100644 --- a/.github/workflows/llama-build-cpu.yaml +++ b/.github/workflows/llama-build-cpu.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04, windows-2025] # + os: [ubuntu-22.04] # windows-2025 python-version: ["3.14"] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 From 923f9d3e153023e6f22c0c7024f9fb55f73e1e2d Mon Sep 17 00:00:00 2001 From: Chamal Gomes <106123134+chamalgomes@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:59:18 +1000 Subject: [PATCH 7/8] Enhance CPU build workflow with new configurations Updated the build workflow for CPU release, including new CMake arguments and versioning adjustments. --- .github/workflows/llama-build-cpu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/llama-build-cpu.yaml b/.github/workflows/llama-build-cpu.yaml index 02a9dc3..18e1991 100644 --- a/.github/workflows/llama-build-cpu.yaml +++ b/.github/workflows/llama-build-cpu.yaml @@ -44,6 +44,8 @@ jobs: -DCMAKE_INSTALL_LIBDIR=llama_cpp/lib -DCMAKE_INSTALL_BINDIR=llama_cpp/lib -DCMAKE_INSTALL_INCLUDEDIR=llama_cpp/include + -DCMAKE_PLATFORM_NO_VERSIONED_SONAME=ON + -DCMAKE_BUILD_TYPE=MinSizeRel working-directory: ./vendor/llama-cpp-python run: | # Rename the release version with +cpu build tag From 6322580495d11d3fbbe5fb7009c75768a9daa0d2 Mon Sep 17 00:00:00 2001 From: Chamal Gomes <106123134+chamalgomes@users.noreply.github.com> Date: Wed, 15 Jul 2026 15:06:11 +1000 Subject: [PATCH 8/8] Update llama-build-cpu.yaml --- .github/workflows/llama-build-cpu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/llama-build-cpu.yaml b/.github/workflows/llama-build-cpu.yaml index 18e1991..e5f3390 100644 --- a/.github/workflows/llama-build-cpu.yaml +++ b/.github/workflows/llama-build-cpu.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04] # windows-2025 + os: [ubuntu-22.04, windows-2025] # python-version: ["3.14"] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5